1
0
Fork 0
mirror of synced 2024-11-26 18:55:34 -05:00

update 'tagbar' & 'nerdtree' key mappings

This commit is contained in:
Huaishun Hu 2017-11-29 21:25:50 +08:00
parent 062cdae201
commit 53bd642a4f
2 changed files with 4 additions and 4 deletions

View file

@ -28,10 +28,10 @@ map <C-t><C-w> :tabclose<CR>
" show all open tabs " show all open tabs
map <C-t><C-a> :tabs<CR> map <C-t><C-a> :tabs<CR>
" toggle NerdTree
map <F7> :NERDTreeToggle<CR>
" toggle TagBar " toggle TagBar
nmap <F8> :TagbarToggle<CR> nmap <F11> :TagbarToggle<CR>
" toggle NerdTree
map <F12> :NERDTreeToggle<CR>
set expandtab set expandtab
set shiftwidth=2 set shiftwidth=2

View file

@ -172,6 +172,6 @@ let g:session_autoload="no"
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Tagbar " => Tagbar
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
nmap <F8> :TagbarToggle<CR> nmap <leader>tt :TagbarToggle<CR>
let g:tagbar_left=1 let g:tagbar_left=1