[nvim] feat: add keymap to escape Terminal-mode

This commit is contained in:
David JULIEN 2023-01-27 11:37:15 +01:00
parent e37b806428
commit debc21cc3a

View File

@ -27,6 +27,12 @@ vim.keymap.set("n", "j",
desc = "Smart down motion"
})
-- terminal-mode
vim.keymap.set({ "t" }, "<leader><Esc>",
"<C-\\><C-n>",
{ desc = "Escape terminal-mode" }
)
-- yank and pasting
vim.keymap.set({ "n", "x" }, "<leader>y",
"\"+y",