Ⅰ. 插件描述
display LaTeX symbols as unicode while editingⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/unilatex-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/unilatex-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/unilatex-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/unilatex.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.
Screenshot:
http://www.fenk.wau.nl/~oever/software/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.