add terminal exit insertmode mapping

exit insert mode with esc
This commit is contained in:
jonathan.wyss
2025-08-13 09:14:28 +02:00
parent 542c482013
commit dcbfb937bf

View File

@@ -8,7 +8,10 @@ vim.cmd("set shiftwidth=4")
vim.cmd("set ttyfast")
vim.cmd("let mapleader=','")
vim.cmd("set makeprg=zig\\ run\\ %<.zig")
vim.keymap.set('t', '<esc>', [[<C-\><C-n>]])
local vim = vim
local Plug = vim.fn['plug#']
vim.call('plug#begin')
Plug('neovim/nvim-lspconfig') -- https://github.com/neovim/nvim-lspconfig