summaryrefslogtreecommitdiff
path: root/.config/nvim/plug-config/rnvimr.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/plug-config/rnvimr.vim')
-rw-r--r--.config/nvim/plug-config/rnvimr.vim14
1 files changed, 12 insertions, 2 deletions
diff --git a/.config/nvim/plug-config/rnvimr.vim b/.config/nvim/plug-config/rnvimr.vim
index b5912b0..4264b03 100644
--- a/.config/nvim/plug-config/rnvimr.vim
+++ b/.config/nvim/plug-config/rnvimr.vim
@@ -1,4 +1,14 @@
" 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
+
+let g:rnvimr_ranger_cmd = 'ranger --cmd="set column_ratios 1,1"'
+
+let g:rnvimr_presets = [
+ \ {'width': 0.800, 'height': 0.800}]