0

Has anyone succeeded in installing vim-latex plugin on top of yadr settings?

As suggested in

https://github.com/skwp/dotfiles/blob/master/doc/vim/manage_plugins.md

I tried using

$ yav -u https://github.com/vim-latex/vim-latex

and adding the recommended settings to my .vimrc file as instructed in

http://vim-latex.sourceforge.net/documentation/latex-suite.html#recommended-settings

Naively, this completes the installation.

However, there should be something wrong as I cannot compile a simple tex file inside vim normal mode. More precisely, normal mode vim does not allows me to type \ll. So I assume that the installation is wrong or incomplete ... So any advice is greatly appreciated.

Many thanks

  • What errors come up when you try using \ll? If nothing at all, could you post the output of :map \ll? – A Gold Man Dec 27 '17 at 17:55
  • Hi! Thanks for answeing. :map \ll yields No mapping found and :scriptnames yields 231: ~/.yadr/vim/bundle/vim-latex/ftplugin/tex_latexSuite.vim ... 254: ~/.yadr/vim/bundle/vim-latex/ftplugin/latex-suite/packages/amsmath Any comments or clues are very welcome. – Reneang Dec 27 '17 at 18:44
  • How about the output of :map ,ll? It looks like YADR makes your leader comma rather than backslash. – A Gold Man Dec 28 '17 at 18:43
  • Many thanks, you are right! Replacing backslash by comma makes vim-latex work normally! – Reneang Dec 31 '17 at 3:16
1

At the beggining of the vimrc for YADR, they remap the "leader" for plugins to comma.

Thus, the shortcut you're looking for is ,ll.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.