Ⅰ. 插件描述
I was not satisfied with Python syntax highlighting and so I decided to modify python.vim to duplicate the highlighting in TextmateⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'pfdevilliers/pretty-vim-python'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'pfdevilliers/pretty-vim-python'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'pfdevilliers/pretty-vim-python'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/pfdevilliers/pretty-vim-python
Ⅳ. 文档说明
Pretty Vim Python 0.1

This is my attempt to make the python syntax highlighting in Vim look like Textmate's.
Important
In the syntax folder is the python.vim which does the syntax highlighting for Python. Just replace yours with mine
but remember to backup beforehand.
Next I had to add another color definition to the molokai.vim stylesheet. This is probably not a very good idea
because the new color definition will not be available for a different color theme. So in your colors folder
add this molokai.vim and remember to select it as your default colorscheme.
The changes made in the files are highlighted with comments and begins with NOTE: @pfdevilliers added this.
General
The additions are still very much a hack job and must be improved upon. I think there are still two issues to
sort out to duplicate the functionality of the Textmate highlighting, but I guess it is usable.