remaps.lua: term shortcut is now <leader>t and acts in current buffer
This commit is contained in:
parent
a23a31839c
commit
9ee6f4d0e4
|
@ -17,4 +17,4 @@ 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
|
-- fast open a new terminal
|
||||||
vim.keymap.set("n", "<C-t>", "<cmd>vs<CR><cmd>term<CR>")
|
vim.keymap.set("n", "<leader>t", "<cmd>term<CR>", { nowait = true })
|
||||||
|
|
Loading…
Reference in a new issue