Make Ctrl-j and Ctrl-k quick up and down more intelligent in ruby
This commit is contained in:
parent
af51dd3725
commit
3abcadae62
@ -67,6 +67,9 @@ nmap <silent> ,qo :copen<CR>
|
|||||||
nnoremap <silent> <C-j> }
|
nnoremap <silent> <C-j> }
|
||||||
nnoremap <silent> <C-k> {
|
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-\
|
" Open the project tree and expose current file in the nerdtree with Ctrl-\
|
||||||
nnoremap <silent> <C-\> :NERDTreeFind<CR>
|
nnoremap <silent> <C-\> :NERDTreeFind<CR>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user