aboutsummaryrefslogtreecommitdiffstats
path: root/_vim
diff options
context:
space:
mode:
Diffstat (limited to '_vim')
-rw-r--r--_vim/vimrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index 96dc7aa..81a3e5f 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -36,7 +36,7 @@ command! W w !sudo tee % >/dev/null
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" => VIM user interface
+" => User interface
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set mouse=a
set ignorecase
@@ -341,12 +341,14 @@ nnoremap <leader>gb :Gblame<cr>
autocmd BufReadPost fugitive://* setlocal bufhidden=delete
" Mappings for NERDTree
-nnoremap <leader>n :NERDTreeFocus<cr>
-nnoremap <C-t> :NERDTreeToggle<cr>
+nnoremap <leader>n :NERDTreeToggle<cr>
" Start NERDTree when Vim is started without file arguments.
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif
+" Mappings for Tagbar
+nnoremap <leader>t :TagbarToggle<cr>
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions