unilatex.vim : display LaTeX symbols as unicode while editing
| script karma
Downloaded by 2248
Comments, bugs, improvements
script versions (upload new version)
|Jos van den Oever|
|Vim supports unicode since version 6. This means it's possible to display many mathmatical symbols in vim. Writing LaTeX texts can now be much easier. To display unicode symbols while editing LaTeX documents, I've written a plugin for vim.
What does the plugin do?
- Convert all symbols like \alpha to the unicode symbol α when reading a LaTeX file.
- Convert these commands when typing them.
- Convert the unicode symbols back to LaTeX when saving the document.
|You can download it an save it in ~/.vim/ftplugin/tex/ to use it.
Filetype plugin must be turned on. Just add the next line to your .vimrc or .gvimrc file:
filetype plugin on
The encoding must be set to utf-8:
Also, you must use gvim with a font that support unicode. Just add something like this to your file .gvimrc:
Alternatively, you can use vim in a unicode terminal.
Click on the package to download.
ip used for rating: 220.127.116.11