Merge branch 'dev' into venus

nvim: add keymap for escaping Terminal-mode
This commit is contained in:
David JULIEN 2023-01-28 19:55:33 +01:00
commit 898f69a379
Signed by: swytch
GPG Key ID: 498590A3AA82A06F

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",