Configure ranger's shortcuts

This commit is contained in:
Julien LE PAGE 2023-02-07 13:42:23 +01:00
parent b73d5da9b7
commit d1ef3a665e
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,6 @@ vim.o.shiftwidth = 4
vim.o.expandtab = true
-- Disable unused providers
vim.g.loaded_python3_provider = 0
vim.g.loaded_ruby_provider = 0
vim.g.loaded_node_provider = 0
vim.g.loaded_perl_provider = 0

View File

@ -18,6 +18,11 @@ local function manage_plugins()
["https://github.com/kevinhwang91/rnvimr.git"] = {
packadd_hook = function()
vim.api.nvim_set_keymap('n', '<leader>f', ":RnvimrToggle<cr>", {})
vim.g.rnvimr_action = {
['<C-t>'] = "NvimEdit tabedit",
['<C-x>'] = "NvimEdit split",
['<C-w>'] = "NvimEdit vsplit",
}
end
},
["https://github.com/ojroques/nvim-hardline.git"] = {