From 47d61c1cb5af62cc75218661dfc7c3a0dc3378a8 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Appel Date: Sun, 17 Dec 2023 17:17:40 -0500 Subject: made nvim keymap locations sensible, add harpoon Keymaps are now stored in the lua/plugins/.lua or lua/keymap.lua Installed harpoon v2 --- nvim/lua/keymap.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nvim/lua/keymap.lua') diff --git a/nvim/lua/keymap.lua b/nvim/lua/keymap.lua index 883321b..1e285c2 100644 --- a/nvim/lua/keymap.lua +++ b/nvim/lua/keymap.lua @@ -19,4 +19,10 @@ M.vnoremap = bind("v") M.xnoremap = bind("x") M.inoremap = bind("i") +M.nnoremap("gf", function() vim.cmd([[:e ]]) end) +M.nnoremap("qf", function() vim.cmd(':cope') end) +M.nnoremap("ef", function() + vim.cmd('Vexplore') +end) + return M -- cgit v1.2.3