Merge branch 'dev' into thesis

nvim: add map to escape Terminal-mode
This commit is contained in:
David JULIEN 2023-01-27 11:38:05 +01:00
commit 4866b08e5d
No known key found for this signature in database
GPG Key ID: 1DD6B2BA6DD78810

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