diff options
author | Cody Hiar <codyfh@gmail.com> | 2017-11-26 10:18:42 -0700 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2017-11-26 10:18:42 -0700 |
commit | 04ed6196c4463502e929766e3fd7dc7c4a27a5df (patch) | |
tree | 3e719d53ba6e625eabeeabe8a4bbb7787c0eaffa /plugin | |
parent | 9d45016e567ff48148366f47ff993588779025c9 (diff) |
Ignore mypy, adding quickfix for ranger rnu issues
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 "----------------------------------------------------------------------------------------------------------------------- |