Made ,gf / ctrl-f aware of line numbers

Now you can `,gf` or can `ctrl-f` file.rb:123
This commit is contained in:
Yan Pritzker
2012-09-27 11:12:09 -07:00
parent 85f0dc996c
commit f2288cd94e
3 changed files with 9 additions and 4 deletions

View File

@@ -133,9 +133,6 @@ 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>
" use ,gf to go to file in a vertical split
nnoremap <silent> ,gf :vertical botright wincmd f<CR>
"Move back and forth through previous and next buffers
"with ,z and ,x