diff options
author | Chris <[email protected]> | 2020-05-04 01:10:29 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-05-04 01:10:29 -0400 |
commit | fbb2dc9b313771d346f71cf033a36bedfb35e907 (patch) | |
tree | e2ab73bc38e669f52f97913b93ae24ccc901925d | |
parent | 926819bc6a156bc909af67d354142fa8e727ea9a (diff) |
updates for rnvimr and quickscope
-rw-r--r-- | plug-config/quickscope.vim | 4 | ||||
-rw-r--r-- | plug-config/rnvimr.vim | 23 |
2 files changed, 26 insertions, 1 deletions
diff --git a/plug-config/quickscope.vim b/plug-config/quickscope.vim index 9e2ce2b1..c391f099 100644 --- a/plug-config/quickscope.vim +++ b/plug-config/quickscope.vim @@ -1,2 +1,6 @@ " Trigger a highlight in the appropriate direction when pressing these keys: let g:qs_highlight_on_keys = ['f', 'F', 't', 'T'] + +highlight QuickScopePrimary guifg='#00C7DF' gui=underline ctermfg=155 cterm=underline +highlight QuickScopeSecondary guifg='#5fffff' gui=underline ctermfg=81 cterm=underline +let g:qs_max_chars=150 diff --git a/plug-config/rnvimr.vim b/plug-config/rnvimr.vim index b5912b05..86582c7c 100644 --- a/plug-config/rnvimr.vim +++ b/plug-config/rnvimr.vim @@ -1,4 +1,25 @@ " Make Ranger replace netrw and be the file explorer let g:rnvimr_ex_enable = 1 -nmap <space>r :RnvimrToggle<CR> +let g:rnvimr_draw_border = 1 + +" Make Ranger to be hidden after picking a file +let g:rnvimr_pick_enable = 1 + +" Make Neovim to wipe the buffers corresponding to the files deleted by Ranger +let g:rnvimr_bw_enable = 1 + +nmap <leader>r :RnvimrToggle<CR> + +let g:rnvimr_ranger_cmd = 'ranger --cmd="set column_ratios 1,1" + \ --cmd="set draw_borders separators"' + +let g:rnvimr_layout = { 'relative': 'editor', + \ 'width': float2nr(round(0.6 * &columns)), + \ 'height': float2nr(round(0.6 * &lines)), + \ 'col': float2nr(round(0.2 * &columns)), + \ 'row': float2nr(round(0.2 * &lines)), + \ 'style': 'minimal' } + +let g:rnvimr_presets = [ + \ {'width': 0.800, 'height': 0.800}] |