terminal escape mapping

This commit is contained in:
Salar Rahmanian 2023-02-28 19:00:36 -08:00
parent a07069f030
commit 8f9763738d

View file

@ -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)