Thursday, November 24, 2011

How to install vim-latexsuite in Debian Squeeze

After installing vim-latexsuite, it is not enabled by default. If you want to use it your user, you should enable it by vim add-on manager. Execute the following command in a terminal emulator (e.g. gnome-terminal):

$vim-addons install latex-suite

If you want to enable it for all users, you should use this command as a root:

#vim-addons -w install latex-suite

In addition you need to add the following lines to your .vimrc (or to /etc/vim/vimrc as root, if you enabled latex-suite system-wide):

 filetype plugin on
 set grepprg=grep\ -nH\ $*
 filetype indent on
 let g:tex_flavor='latex'

No comments:

Post a Comment