I am totally new to using Vim, and I have been trying out SpaceVim so far. One issue is with keybindings. So I have the Vimtex and Vim-Latex plugins installed. I want to use the compilation option from Vimtex because it automatically uses the
latexmk program to compile my latex code. But, right now the Vim-Latex keybindings is mapped to the
I added the following command to the bottom of my
init.vim file, as suggested in a different stackexchange post:
Here is the command I used.
autocmd VimEnter * noremap \ll VimtexCompile
But for some reason this does not change the keybinding. I am still getting the old keybindings.
I think that this keybinding is attached to the
Latex mode in vim, since this keybinding will only work when it is in a latex file window. Unfortunately each time I currently press the
\ll key, I get thrown into the compiler error log.