Merge branch 'dev' into thesis
nvim: add map to escape Terminal-mode
This commit is contained in:
commit
4866b08e5d
@ -27,6 +27,12 @@ vim.keymap.set("n", "j",
|
|||||||
desc = "Smart down motion"
|
desc = "Smart down motion"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- terminal-mode
|
||||||
|
vim.keymap.set({ "t" }, "<leader><Esc>",
|
||||||
|
"<C-\\><C-n>",
|
||||||
|
{ desc = "Escape terminal-mode" }
|
||||||
|
)
|
||||||
|
|
||||||
-- yank and pasting
|
-- yank and pasting
|
||||||
vim.keymap.set({ "n", "x" }, "<leader>y",
|
vim.keymap.set({ "n", "x" }, "<leader>y",
|
||||||
"\"+y",
|
"\"+y",
|
||||||
|
Reference in New Issue
Block a user