Replace removed ranger command

This commit is contained in:
Edward Litherland-Smith 2022-10-26 14:48:25 +01:00
parent d879339274
commit 9f0b587cb2

View file

@ -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')