Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. " Automatically jump to a file at the correct line number
  2. " i.e. if your cursor is over /some/path.rb:50 then using 'gf' on it will take
  3. " you to that line
  4.  
  5. " use ,gf to go to file in a vertical split
  6. nnoremap <silent> ,gf :vertical botright wincmd F<CR>
  7. nnoremap <silent> <C-F> :vertical botright wincmd F<CR>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement