diff --git a/vimrc b/vimrc index d5e9f7d..226dd1c 100644 --- a/vimrc +++ b/vimrc @@ -29,6 +29,7 @@ call plug#begin() Plug 'mxw/vim-jsx' Plug 'theRealCarneiro/hyprland-vim-syntax' Plug 'junegunn/fzf.vim' + Plug 'junegunn/fzf' Plug 'vv9k/vim-github-dark' Plug 'dracula/vim',{'as':'dracula'} call plug#end() @@ -39,7 +40,6 @@ inoremap :NERDTreeToggle nnoremap :NERDTreeFocus inoremap :NERDTreeFocus nnoremap e :NERDTreeFocus -inoremap e :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle inoremap :NERDTreeToggle @@ -47,13 +47,9 @@ nnoremap :NERDTreeRefresh inoremap :NERDTreeRefresh "tabs nnoremap [ :tabprevious -inoremap [ :tabprevious nnoremap ] :tabnext -inoremap ] :tabnexti nnoremap t :tabnew -inoremap t :tabnew nnoremap w :tabclose -inoremap w :tabclose "term nnoremap :term inoremap :term @@ -64,29 +60,20 @@ function! OpenTerminalBelow() endfunc nnoremap h :call OpenTerminalBelow() -inoremap h :call OpenTerminalBelow() nnoremap l :resize +5 -inoremap l :resize +5 nnoremap k :resize -5 -inoremap k :resize -5 "gitlens nnoremap :call ToggleGitLens() inoremap :call ToggleGitLens() "save file -nnoremap :w -inoremap :w +nnoremap s :w "quit -nnoremap :q -inoremap :q +nnoremap q :q "vim-plug -nnoremap :PlugInstall -inoremap :PlugInstall +nnoremap i :PlugInstall "update vim config -nnoremap :so% -inoremap :so% +nnoremap u :so% "fzf nnoremap f :Files -inoremap f :Files nnoremap g :Rg -inoremap g :Rg nnoremap r :vimgrep // **/*