Refine remap for buffer movement

This commit is contained in:
Lord Of Nougate 2023-09-05 21:39:01 +02:00
parent d3dbe17ecf
commit 587831d76f

View File

@ -5,9 +5,7 @@ vim.keymap.set("n", "<leader>.", vim.cmd.Ex)
vim.keymap.set("n", "<C-b>", ":e #<CR>")
vim.keymap.set("n", "<C-w>", ":wq<CR>")
vim.keymap.set("n", "<leader>", ":e #<CR>")
vim.keymap.set("n", "<C-b>w", ":wq<CR>")
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")