From 93bc5e2aac2e4488488b763010ac6c328c18f899 Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Thu, 20 Oct 2022 13:29:46 +0100 Subject: [PATCH] Remove ranger --- init.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/init.lua b/init.lua index 5522e1de..4f73207f 100644 --- a/init.lua +++ b/init.lua @@ -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", "g", "lua _lazygit_toggle()", {noremap = true, silent = true}) -vim.api.nvim_set_keymap("n", "r", "lua _ranger_toggle()", {noremap = true, silent = true}) -- load telescope integrations require('telescope').load_extension('aerial')