Add keymap to lua neovim config
This commit is contained in:
parent
fa014f1918
commit
31f93e6001
2 changed files with 1 additions and 1 deletions
|
@ -3,4 +3,3 @@ lua require('transition')
|
||||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||||
let &packpath = &runtimepath
|
let &packpath = &runtimepath
|
||||||
source ~/.vimrc
|
source ~/.vimrc
|
||||||
tnoremap <Esc> <C-\><C-n>
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
-- TODO: https://vonheikemen.github.io/devlog/tools/configuring-neovim-using-lua/
|
-- TODO: https://vonheikemen.github.io/devlog/tools/configuring-neovim-using-lua/
|
||||||
vim.g.python3_host_prog = '/usr/bin/python3'
|
vim.g.python3_host_prog = '/usr/bin/python3'
|
||||||
vim.g.vimtex_compiler_progname = 'nvr'
|
vim.g.vimtex_compiler_progname = 'nvr'
|
||||||
|
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
|
||||||
|
|
Loading…
Add table
Reference in a new issue