Add Insert Mode Mappings for Vimtex Into Neovim
I use vimtex to aid my way of writing LaTeX in Neovim, but vimtex is written in vimscript and my Neovim configuration is in Lua. As a result, when I am not careful I may spend more time than acceptable to configure something.
Here is how to use vim.fn to access functions from plugins written in vimscript if you use lazy.nvim as your plugin manager.
This is the recommended configuration from vimtex’s repo using lazy.
Read more...