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 <Leader>ll keybinding.
I added the following command to the bottom of my init.vim file, as suggested in a different stackexchange post:
How can I redefine plugin key mappings?
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.
Any suggestions?
g:spacevim_disabled_plugins– Mass Sep 08 '17 at 20:41vim-latexto work withlatexmk.I have been trying for two days. So finallyvimtexseemed to fix that. I did not want to lose all of the slick keybindings fromvim-latexthough. Is there a fundamental incompatibility between packages? I might need to keep this while I try and resolve thevim-latexissues. – krishnab Sep 08 '17 at 20:50spacevim_disabled_plugins. I have a custom plugin section in my.init.vimfile, but not a section for disabled plugins. Is one of the latex plugins on the disabled plugins list? – krishnab Sep 08 '17 at 20:52\llis the default compile map forvimtex, so you must have a conflict somewhere.