Configure ranger's shortcuts
This commit is contained in:
parent
b73d5da9b7
commit
d1ef3a665e
1
init.lua
1
init.lua
@ -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
|
||||
|
||||
@ -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"] = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user