Changed jump to ruby method to ,,f so as not to conflict with carriage return

This commit is contained in:
Yan Pritzker
2012-10-08 21:41:24 -07:00
parent 1f0693ce1d
commit 6ed1a6c36f
2 changed files with 3 additions and 2 deletions

View File

@@ -36,7 +36,8 @@ endfunction
" this uses ctags. the standard way to get this is Ctrl-]
nnoremap <silent> ,f <C-]>
nnoremap <silent><C-m> :call JumpToRubyMethod()<CR>
nnoremap <silent> ,,f :call JumpToRubyMethod()<CR>
" 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>