From 3abcadae6262b231a64ca3c755b1d6048bdc0b7c Mon Sep 17 00:00:00 2001 From: yan Date: Sat, 21 Jan 2012 13:45:12 -0800 Subject: [PATCH] Make Ctrl-j and Ctrl-k quick up and down more intelligent in ruby --- vim/plugin/settings/skwp-keymap.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/plugin/settings/skwp-keymap.vim b/vim/plugin/settings/skwp-keymap.vim index a308c3a..c28462a 100644 --- a/vim/plugin/settings/skwp-keymap.vim +++ b/vim/plugin/settings/skwp-keymap.vim @@ -67,6 +67,9 @@ nmap ,qo :copen nnoremap } nnoremap { +autocmd FileType ruby map ]m +autocmd FileType ruby map [m + " Open the project tree and expose current file in the nerdtree with Ctrl-\ nnoremap :NERDTreeFind