summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_rnvimr
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2021-04-19 21:43:23 +0200
committeraktersnurra <grydholm@kth.se>2021-04-19 21:43:23 +0200
commit23b895222a16925d39d04d45dedbedec9db0c752 (patch)
treeeb5759eed884c1ddcb32f1b702e55dc4521bf60e /.config/nvim/lua/_rnvimr
parent174cd547dc32bb6d50ab5da329ad1bc4d516c20a (diff)
Updates to nvim
Diffstat (limited to '.config/nvim/lua/_rnvimr')
-rw-r--r--.config/nvim/lua/_rnvimr/init.lua18
1 files changed, 1 insertions, 17 deletions
diff --git a/.config/nvim/lua/_rnvimr/init.lua b/.config/nvim/lua/_rnvimr/init.lua
index 055326c..f84bde9 100644
--- a/.config/nvim/lua/_rnvimr/init.lua
+++ b/.config/nvim/lua/_rnvimr/init.lua
@@ -1,22 +1,6 @@
-- Make Ranger replace netrw and be the file explorer
vim.g.rnvimr_ex_enable = 1
vim.g.rnvimr_draw_border = 1
-
--- Make Ranger to be hidden after picking a file
vim.g.rnvimr_pick_enable = 1
-
--- Make Neovim to wipe the buffers corresponding to the files deleted by Ranger
vim.g.rnvimr_bw_enable = 1
-
--- vim.cmd('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}] ]]
+vim.api.nvim_set_keymap('n', '-', ':RnvimrToggle<CR>', {noremap = true, silent = true})