Add keymap to lua neovim config

This commit is contained in:
flyingscorpio@clevo 2022-07-25 13:43:38 +02:00
parent fa014f1918
commit 31f93e6001
2 changed files with 1 additions and 1 deletions

View file

@ -3,4 +3,3 @@ lua require('transition')
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
tnoremap <Esc> <C-\><C-n>

View file

@ -1,3 +1,4 @@
-- TODO: https://vonheikemen.github.io/devlog/tools/configuring-neovim-using-lua/
vim.g.python3_host_prog = '/usr/bin/python3'
vim.g.vimtex_compiler_progname = 'nvr'
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')