Allow closing the window with 'q'

This commit is contained in:
Jan Larres 2011-01-20 21:13:00 +13:00
parent 0b6ce07d78
commit a5fd8d2c75

View File

@ -206,6 +206,7 @@ function! s:OpenWindow()
nnoremap <script> <silent> <buffer> <2-LeftMouse>
\ :call <SID>JumpToTag()<CR>
nnoremap <script> <silent> <buffer> <Space> :call <SID>ShowPrototype()<CR>
nnoremap <script> <silent> <buffer> q :close<CR>
augroup TagbarAutoCmds
autocmd!