Added ,F - find tag in vertical split window

This commit is contained in:
yan
2012-01-25 12:10:02 -08:00
parent 5716eaa239
commit 1217f5277a
2 changed files with 5 additions and 0 deletions

View File

@@ -94,6 +94,10 @@ nnoremap ,gcp :GitGrepCurrentPartial<CR>
" this uses ctags. the standard way to get this is Ctrl-]
nnoremap <silent> ,f <C-]>
" use ,F to jump to tag in a vertical split
nnoremap <silent> ,F :let word=expand("<cword>")<CR>:vsp<CR>:wincmd w<cr>:exec("tag ". word)<cr>
"toggle between last two buffers with Z (normally ctrl-shift-6)
nnoremap <silent> ,z <C-^>