commit 67214b96dd719c6e544b3492ffc47850525204d4
parent 766f9b384409ff69095f775eabebe8e2590a9858
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 15 Jan 2019 17:28:09 +0100
Modify maps for Nerdtree and Tagbar
Make use of Nerdtree-tabs plugin, which makes a global nerdtree across
all tabs.
Former-commit-id: 19a1788975b9d1d0ee31944016a3b22d9993b3d4
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/vim/map.vimrc b/vim/map.vimrc
@@ -5,10 +5,11 @@ nnoremap ; :
vnoremap ; :
" NERDTree
-nnoremap <leader>f :NERDTreeToggle<CR>
+nnoremap <leader>f :NERDTreeTabsToggle<CR>
" Tagbar
-nnoremap <leader>t :TagbarToggle<CR>
+nnoremap <leader>tt :TagbarToggle<CR>
+nnoremap <leader>to :TagbarOpen fj<CR>
" Mundo undo tree (super-undo)
nnoremap <leader>u :MundoToggle<CR>
diff --git a/vim/plugins.vimrc b/vim/plugins.vimrc
@@ -10,6 +10,7 @@ Plug 'guns/xterm-color-table.vim'
" NERDTree - file browser
Plug 'scrooloose/nerdtree'
+Plug 'jistr/vim-nerdtree-tabs'
" NERD Commenter - simple comment toggling
Plug 'scrooloose/nerdcommenter'