From 57bbc31848eba573726ccff6f3f6cd9b3cebe17c Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 9 Jun 2024 23:33:27 +0530 Subject: [PATCH] add remaps --- init.lua | 2 ++ lua/remaps.lua | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 lua/remaps.lua diff --git a/init.lua b/init.lua index 80eec0a..61bc880 100644 --- a/init.lua +++ b/init.lua @@ -19,3 +19,5 @@ opts = { } require("lazy").setup("plugins", opts) + +require("remaps") diff --git a/lua/remaps.lua b/lua/remaps.lua new file mode 100644 index 0000000..4897f89 --- /dev/null +++ b/lua/remaps.lua @@ -0,0 +1,5 @@ +vim.keymap.set("n", "", vim.cmd.bprevious) +vim.keymap.set("n", "", vim.cmd.bnext) +vim.keymap.set("n", "", vim.cmd.nohlsearch) +vim.keymap.set("n", "w", "bdeletebnext") +vim.keymap.set("n", "q", vim.cmd.close)