diff --git a/lua/remaps.lua b/lua/remaps.lua index 5248780..cd8232c 100644 --- a/lua/remaps.lua +++ b/lua/remaps.lua @@ -1,15 +1,17 @@ -- move selected lines and auto indent - vim.keymap.set("v", "", ":m '>+1gv=gv") vim.keymap.set("v", "", ":m '<-2gv=gv") -- zz centers the cursor - vim.keymap.set("n", "", "zz") vim.keymap.set("n", "", "zz") - vim.keymap.set("n", "n", "nzzzv") vim.keymap.set("n", "N", "Nzzzv") +-- switch between buffers vim.keymap.set("n", "", "bprev") vim.keymap.set("n", "", "bnext") + +-- exit from terminal easily +vim.keymap.set("t", "", "") +vim.keymap.set("t", "", "") -- Verbatim escape (send an esc to underlying program)