map zc{hjkl} as move windows to left/down/up/right
This commit is contained in:
parent
3ca8337437
commit
1c0045f059
5
init.lua
5
init.lua
|
@ -24,6 +24,11 @@ vim.keymap.set("n", "zj", "<cmd>wincmd j<CR>", { silent = true })
|
|||
vim.keymap.set("n", "zk", "<cmd>wincmd k<CR>", { silent = true })
|
||||
vim.keymap.set("n", "zl", "<cmd>wincmd l<CR>", { silent = true })
|
||||
|
||||
vim.keymap.set("n", "zch", "<cmd>wincmd H<CR>", { silent = true })
|
||||
vim.keymap.set("n", "zcj", "<cmd>wincmd J<CR>", { silent = true })
|
||||
vim.keymap.set("n", "zck", "<cmd>wincmd K<CR>", { silent = true })
|
||||
vim.keymap.set("n", "zcl", "<cmd>wincmd L<CR>", { silent = true })
|
||||
|
||||
vim.keymap.set("n", "zn", "<cmd>bnext<CR>", { silent = true })
|
||||
vim.keymap.set("n", "zp", "<cmd>bprevious<CR>", { silent = true })
|
||||
vim.keymap.set("n", "zx", "<cmd>bdelete<CR>", { silent = true })
|
||||
|
|
Loading…
Reference in a new issue