add remaps

This commit is contained in:
Adithya 2024-06-09 23:33:27 +05:30
parent 0ae6be8361
commit 57bbc31848
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 7 additions and 0 deletions

View file

@ -19,3 +19,5 @@ opts = {
}
require("lazy").setup("plugins", opts)
require("remaps")

5
lua/remaps.lua Normal file
View file

@ -0,0 +1,5 @@
vim.keymap.set("n", "<C-a>", vim.cmd.bprevious)
vim.keymap.set("n", "<C-d>", vim.cmd.bnext)
vim.keymap.set("n", "<C-h>", vim.cmd.nohlsearch)
vim.keymap.set("n", "<leader>w", "<cmd>bdelete<Return><cmd>bnext<Return>")
vim.keymap.set("n", "<leader>q", vim.cmd.close)