diff options
| author | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2023-12-17 17:17:40 -0500 |
|---|---|---|
| committer | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2023-12-17 17:17:40 -0500 |
| commit | 47d61c1cb5af62cc75218661dfc7c3a0dc3378a8 (patch) | |
| tree | 906f5e4b1e6bb7b9eaea0fb45a9e7af82baff609 /nvim/lua/keymap.lua | |
| parent | 00fa9fb23ee3de7b60f0b5a88f905f3bf14a1485 (diff) | |
made nvim keymap locations sensible, add harpoon
Keymaps are now stored in the lua/plugins/<Plugin>.lua or lua/keymap.lua
Installed harpoon v2
Diffstat (limited to 'nvim/lua/keymap.lua')
| -rw-r--r-- | nvim/lua/keymap.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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 <cfile>]]) end) +M.nnoremap("<Leader>qf", function() vim.cmd(':cope') end) +M.nnoremap("<leader>ef", function() + vim.cmd('Vexplore') +end) + return M |
