Unicode LaTeX editing with vim

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. You can download it an save it in ~/.vim/ftplugin/tex/ to use it.

What does the plugin do?


Here's a screenshot of the plugin in action.

Install details

You can download the script 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:

set encoding=utf-8 

Also, you must use gvim with a font that support unicode. Just add something like this to your file .gvimrc:

set guifont=-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso10646-1 

Alternatively, you can use vim in a unicode terminal.