sponsor Vim development Vim logo Vim Book Ad

template.vim : A template plugin for LaTeX

 script karma  Rating 1/1, Downloaded by 401  Comments, bugs, improvements  Vim wiki

created by
Yangqin Fang
 
script type
ftplugin
 
description
A template plugin for LaTeX

1. In the normal mode, press <F1>, the command line will appear the *.tex templates under the dir ~/.vim/ftplugin/tex/template/, select the No., it will insert the selected template at the beginning of the document.
2. In the normal mode, press <F11>(<F12> for the old version), the command line will appear the *.txt templates under the dir ~/.vim/ftplugin/tex/template/, select the No., it will insert the selected template after the cursor line.
3. You can put your own templates in dir ~/.vim/ftplugin/tex/template/

https://github.com/fangyq09/VimTeXtric
 
install details
extract the temp.7z, copy the template.vim and the template dir to ~/.vim/ftplugin/tex/
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
temp.7z 1.2 2023-05-04 7.0 Yangqin Fang To prevent accidental operation, a confirmation dialog box has been added.
template.7z 1.1 2023-04-12 7.0 Yangqin Fang Initial upload
ip used for rating: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github