add remaps
This commit is contained in:
parent
0ae6be8361
commit
57bbc31848
2 changed files with 7 additions and 0 deletions
2
init.lua
2
init.lua
|
@ -19,3 +19,5 @@ opts = {
|
|||
}
|
||||
|
||||
require("lazy").setup("plugins", opts)
|
||||
|
||||
require("remaps")
|
||||
|
|
5
lua/remaps.lua
Normal file
5
lua/remaps.lua
Normal 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)
|
Loading…
Reference in a new issue