bin directory and vimrc comment

This commit is contained in:
wt committed 2024-07-05 13:25:21 +07:00
1 parent 04f05aad1b
commit 2307c4225c
12 files changed
+2515 -15

No files matched your search

+26 -2
View File
@@ -9,11 +9,15 @@ set foldcolumn=2
set mouse=a
set encoding=utf8
set guifont=JetBrains\ Mono\ Nerd\ Font\ 11
"----- color scheme ---
colorscheme tokyonight
"----------------------
"-------- colorcolumn ------------------
set colorcolumn=110
highlight ColorColumn ctermbg=darkgray
"---------------------------------------
"-------------------- plugins ------------------------
call plug#begin()
Plug 'preservim/nerdtree'
Plug 'ryanoasis/vim-devicons'
@@ -32,13 +36,17 @@ call plug#begin()
Plug 'mxw/vim-jsx'
Plug 'theRealCarneiro/hyprland-vim-syntax'
call plug#end()
"-----------------------------------------------------
"--------- keybinds -------------------------
nnoremap <C-a> :NERDTreeFocus<CR>
inoremap <C-a> <Esc>:NERDTreeFocus<CR>
nnoremap <C-e> :NERDTree<CR>
nnoremap <C-q> :NERDTreeToggle<CR>
nnoremap <C-w> :NERDTreeToggle<CR>
inoremap <C-w> :NERDTreeToggle<CR>
nnoremap <C-g> :NERDTreeRefresh<CR>
inoremap <C-g> <Esc>:NERDTreeRefresh<CR>
"------------ tabs -----------------------
nnoremap <C-p> :tabprevious<CR>
nnoremap <C-n> :tabnext<CR>
nnoremap <C-t> :tabnew<CR>
@@ -47,7 +55,23 @@ inoremap <C-n> <Esc>:tabnext<CR>i
inoremap <C-t> <Esc>:tabnew<CR>
nnoremap <C-d> :tabclose<CR>
inoremap <C-d> <Esc>:tabclose<CR>
"-----------------------------------------
"----------------- term --------
nnoremap <C-x> :term<CR>
inoremap <C-x> <Esc>:term<CR>
"-------------------------------
"------------- gitlens -----------------------
nnoremap <C-l> :call ToggleGitLens()<CR>
inoremap <C-l> <Esc>:call ToggleGitLens()<CR>
"---------------------------------------------
nnoremap <C-s> :w<CR>
inoremap <C-s> <Esc>:w<CR>
nnoremap <C-q> :q<CR>
inoremap <C-q> <Esc>:q<CR>
"------------- vim-plug --------------
nnoremap <C-i> :PlugInstall<CR>
inoremap <C-i> <Esc>:PlugInstall<CR>
"-------------------------------------
nnoremap <C-u> :so%<CR>
inoremap <C-u> <Esc>:so%<CR>
"--------------------------------------------