tags:

views:

206

answers:

1
+4  Q: 

vim-latex config

Hello:

I have installed vim-latex package using my ubuntu's synaptic package manager. I followed the instructions here to edit my .vimrc file. However, when I open up a .tex file in vim, nonw of the new menu options appear and I can't seem to compile documents using \ll. What did I do wrong?

+2  A: 

In Debian (and Ubuntu, consequently) Vim addons are installed in two stages. First, the files of an addon are installed from deb-package containing that addon. Second, symbolic links to that files are created in ~/.vim directory for users that would like to use that addon. This step should be performed manually by administrator (or a user himself) using vim-addons script.

vim-addons allows to examine all Vim addons available in the system (i.e. installed from deb-packages) and check their status system-wide and for current user:

vim-addons status

To install plugin use this (please, check correct name of the addon in the list produced by the command above):

vim-addons install latex-suite

(If you want to install it system-wide, run this command as root and add -w option. It's rarely recommended to install addon system-wide though.)

Similarly, you can remove an addon from your ~/.vim:

vim-addons remove latex-suite

Again, vim-addons manipulations do not alter addons' files itself, it's only modify links to that files, which is installed by deb-packages.

ib