Ⅰ. 插件描述
A(nother) port of TextMate's Twilight theme to Vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'matthewtodd/vim-twilight'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'matthewtodd/vim-twilight'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'matthewtodd/vim-twilight'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/matthewtodd/vim-twilight
Ⅳ. 文档说明
I used to love TextMate's Twilight theme.
The latest VimCast, http://vimcasts.org/e/25, linked to a utility for
converting TextMate themes to Vim colorschemes,
http://github.com/sickill/coloration, so I'm trying it out.
I had looked into porting Twilight to Vim before (and vimscripts.org has a
couple of attempts at it), but ran into an impedance mismatch: TextMate colors
(can) include an alpha channel, which Vim doesn't handle, so you don't get a
true copy.
Somehow, though, these results look pretty sweet.
I've also used http://shawncplus.github.com/Vim-toCterm to provide 256-color
terminal support, although, while the result is reasonable in itself, it
(understandably) doesn't seem to recreate the subtlety of the original.
Enjoy!