Both sides previous revisionPrevious revision | |
blog:vim-latexsuite_on_ubuntu_9.10 [2009-12-02 08:57] – brb | blog:vim-latexsuite_on_ubuntu_9.10 [2009-12-02 08:57] (current) – brb |
---|
Here is how to get vim-latexsuite working on ubuntu | Here is how to get vim-latexsuite working on ubuntu |
| |
- DON'T download the latex-suite file from http://vim-latex.sourceforge.net/ and unzip into ~/.vim/. It just simply doesn't work because vim-addons cannot find it, even if ~/.vim/ is in the runtimepath of vim. I don't know why. | * DON'T download the latex-suite file from http://vim-latex.sourceforge.net/ and unzip into ~/.vim/. It just simply doesn't work because vim-addons cannot find it, even if ~/.vim/ is in the runtimepath of vim. I don't know why. |
- USE ''sudo apt-get install vim-latex'' to let ubuntu install it for you. Also do ''sudo apt-get install vim-addons-manager'' if you haven't. | * USE ''sudo apt-get install vim-latex'' to let ubuntu install it for you. Also do ''sudo apt-get install vim-addons-manager'' if you haven't. |
- ''sudo vim-addons -w install latex-suite'' | * ''sudo vim-addons -w install latex-suite'' |
- ''vim-addons'': You should see | * ''vim-addons'': You should see |
| |
#name User Status System Status | #name User Status System Status |
latex-suite installed(or removed, doesn't matter) installed | latex-suite installed(or removed, doesn't matter) installed |
- put your own tex.vim file in /usr/share/vim/addons/ftplugin/ | * put your own tex.vim file in /usr/share/vim/addons/ftplugin/ |
- In .vimrc, add: | * In .vimrc, add: |
| |
set runtimepath+=/usr/share/vim/addons | set runtimepath+=/usr/share/vim/addons |
let g:tex_flavor="latex" | let g:tex_flavor="latex" |
| |
- you will see an error involved with remoteOpen.vim. I eliminated those error by commenting out the specific lines in remoteOpen.vim | * you will see an error involved with remoteOpen.vim. I eliminated those error by commenting out the specific lines in remoteOpen.vim |
| |
| |