diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 1bdf36d..69853d0 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -205,6 +205,9 @@ noremap <Up> <C-w>k noremap <Down> <C-w>j noremap <Left> <C-w>h noremap <Right> <C-w>l +" Faster next functions +nnoremap [q :cprev<CR> +nnoremap ]q :cnext<CR> "----------------------------------------------------------------------------------------------------------------------- @@ -430,8 +433,9 @@ endif if !empty(glob($EditorDir.'plugged/ranger.vim/plugin/ranger.vim')) let g:ranger_map_keys = 0 nnoremap <leader>n :Ranger<CR> - nnoremap [q :cprev<CR> - nnoremap ]q :cnext<CR> + " Ranger plugin disables relative numbering + " (https://github.com/francoiscabrol/ranger.vim/issues/29) + nnoremap <leader>ds :set rnu<CR> endif "----------------------------------------------------------------------------------------------------------------------- |