Replace removed ranger command
This commit is contained in:
parent
d879339274
commit
9f0b587cb2
5
init.lua
5
init.lua
|
@ -45,7 +45,12 @@ function _lazygit_toggle()
|
|||
lazygit:toggle()
|
||||
end
|
||||
|
||||
function _ranger_toggle()
|
||||
ranger:toggle()
|
||||
end
|
||||
|
||||
vim.api.nvim_set_keymap("n", "<leader>g", "<cmd>lua _lazygit_toggle()<CR>", {noremap = true, silent = true})
|
||||
vim.api.nvim_set_keymap("n", "<leader>r", "<cmd>lua _ranger_toggle()<CR>", {noremap = true, silent = true})
|
||||
|
||||
-- load telescope integrations
|
||||
require('telescope').load_extension('aerial')
|
||||
|
|
Loading…
Reference in a new issue