Make Ctrl-j and Ctrl-k quick up and down more intelligent in ruby

This commit is contained in:
yan 2012-01-21 13:45:12 -08:00 committed by Yan Pritzker
parent af51dd3725
commit 3abcadae62

View File

@ -67,6 +67,9 @@ nmap <silent> ,qo :copen<CR>
nnoremap <silent> <C-j> }
nnoremap <silent> <C-k> {
autocmd FileType ruby map <buffer> <C-j> ]m
autocmd FileType ruby map <buffer> <C-k> [m
" Open the project tree and expose current file in the nerdtree with Ctrl-\
nnoremap <silent> <C-\> :NERDTreeFind<CR>