From d243611e8a00b0d5105bdfa27fec5edb2f6c5326 Mon Sep 17 00:00:00 2001 From: Benjamin Chaussé Date: Fri, 19 Jul 2024 15:13:59 -0400 Subject: rearrange overlapping keymaps --- lua/core/init.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lua/core') diff --git a/lua/core/init.lua b/lua/core/init.lua index c098add..a84627f 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -63,8 +63,8 @@ end cd_to_git_root() -- Quickly compile and preview files -vim.keymap.set("n", "c", "make") -vim.keymap.set("n", "o", "!opout %") +vim.keymap.set("n", "pc", "make") -- P.roject C.ompile +vim.keymap.set("n", "pp", "!opout %") -- P.roject P.review -- Make sure I don't accidentally delete with 'S' when not using an LSP: vim.keymap.set("n", "S", "") -- Stop hurting my pinky with : @@ -72,3 +72,10 @@ vim.keymap.set("n", "w", "") -- Quickly navigate between Tabs vim.keymap.set("n", "", "tabnext") vim.keymap.set("n", "", "tabnew") + +-- TEST +-- vim.api.nvim_create_autocmd("InsertLeave", { +-- callback = function() +-- print("hello") +-- end, +-- }) -- cgit v1.2.3