diff --git a/.config/nvim/config b/.config/nvim/config index 47cb861..d52762b 100755 --- a/.config/nvim/config +++ b/.config/nvim/config @@ -37,6 +37,8 @@ Plug 'rainbowhxch/accelerated-jk.nvim' Plug 'jreybert/vimagit' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-rhubarb' +Plug 'preservim/tagbar' +Plug 'tpope/vim-commentary' Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', @@ -107,9 +109,9 @@ nnoremap yip yi) " git integration nnoremap gP :![ -d ".git" ] && git push nnoremap gV :Magit -nnoremap gb :Git blame -nnoremap ga :Git add * -nnoremap gc :Git commit -a +nnoremap gB :Git blame +nnoremap gA :Git add * +nnoremap gC :Git commit -a nnoremap gn :GitGutterNextHunk nnoremap gp :GitGutterPrevHunk nnoremap :e ~/.config/nvim/config @@ -132,6 +134,8 @@ nnoremap :bprevious nnoremap :badd New file nnoremap :bdelete! +nnoremap f :TagbarToggle + nnoremap :split nnoremap :vsplit nnoremap :only