add new remaps for buffer navigation

This commit is contained in:
Lord Of Nougate 2023-09-05 20:45:06 +02:00
parent 3080f6957b
commit ffa9646bcd

View File

@ -3,6 +3,12 @@ vim.g.mapleader = " "
vim.keymap.set("n", "<leader>.", vim.cmd.Ex) 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("v", "J", ":m '>+1<CR>gv=gv") vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv") vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")