Creatingtemplateonvim-latexsuite(Debian)
First of all placed a template file on(need root power)
/usr/share/vim/addons/ftplugin/latex-suite/templates/
use command ls -al in terminal
#ls -al /usr/share/vim/addons/ftplugin/latex-suite/templates/
then you will get somme temple like:article.tex report.tex IEEEtran.tex report_two_column.tex
I creat a new file book.tex,that I wanna to added template.
Then I created the soft link of it in directory:
/var/lib/vim/addons/ftplugin/latex-suite/templates/
use command ln -s in terminal
#ln -s
/usr/share/vim/addons/ftplugin/latex-suite/templates/book.tex
/var/lib/vim/addons/ftplugin/latex-suite/templates/book.tex
If everything goes well, when create a new tex file on vim and type
:TTemplate book
The latex book will be auto creat.
红包分享
钱包管理

