Remove ranger

This commit is contained in:
Edward Litherland-Smith 2022-10-20 13:29:46 +01:00
parent d5af2f1fb0
commit 93bc5e2aac

View file

@ -29,18 +29,12 @@ require('toggleterm').setup{
local Terminal = require('toggleterm.terminal').Terminal
local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = 'float' })
local ranger = Terminal:new({ cmd = "ranger", hidden = true, direction = 'float' })
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')