diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua index 313cfcc..9ed2291 100644 --- a/lua/core/keymaps.lua +++ b/lua/core/keymaps.lua @@ -14,3 +14,15 @@ map("n", "", "j", opts) map("n", "", "k", opts) map("n", "", "l", opts) +map("n", "", ":w", {}) +map("n", "", ":q", {}) +map("n", "cd", ":Ex", {}) + +-- Use leader+h and leader+l to move between windows +vim.keymap.set("n", "h", function() + vim.cmd("wincmd h") +end, { desc = "Move left" }) +vim.keymap.set("n", "l", function() + vim.cmd("wincmd l") +end, { desc = "Move right" }) +