terminal escape mapping
This commit is contained in:
parent
a07069f030
commit
8f9763738d
1 changed files with 3 additions and 0 deletions
3
init.lua
3
init.lua
|
@ -81,6 +81,9 @@ vim.api.nvim_create_autocmd("TextYankPost", {
|
|||
pattern = "*",
|
||||
})
|
||||
|
||||
-- Terminal Escape Key Mapping
|
||||
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]])
|
||||
|
||||
-- Diagnostic keymaps
|
||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
|
||||
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)
|
||||
|
|
Loading…
Reference in a new issue