Created
March 13, 2012 19:34
-
-
Save skwp/2031016 to your computer and use it in GitHub Desktop.
vim navigate to vertical splits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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> | |
" use ,gf to go to file in a vertical split | |
nnoremap <silent> ,gf :vertical botright wincmd f<CR> | |
" see more at http://skwp.github.com/dotfiles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment