-- 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)