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)