remaps: Ctrl-T open a new terminal in vertical split view

This commit is contained in:
kalmenn 2023-12-30 13:08:53 +01:00
parent ad68dfa387
commit 0610a35e7a
Signed by: kalmenn
GPG key ID: F500055C44BC3834

View file

@ -15,3 +15,6 @@ vim.keymap.set("n", "<C-k>", "<cmd>bnext<CR>")
-- exit from terminal easily -- exit from terminal easily
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>") vim.keymap.set("t", "<Esc>", "<C-\\><C-n>")
vim.keymap.set("t", "<C-v><Esc>", "<Esc>") -- Verbatim escape (send an esc to underlying program) vim.keymap.set("t", "<C-v><Esc>", "<Esc>") -- Verbatim escape (send an esc to underlying program)
-- fast open a new terminal
vim.keymap.set("n", "<C-t>", "<cmd>vs<CR><cmd>term<CR>")