Ⅰ. 插件描述
Personal version of the tomorrow themes for vim and Terminal.app with theme switcher. Based from: https://github.com/ChrisKempson/Tomorrow-ThemeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'joelbrewster/tomorrow'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'joelbrewster/tomorrow'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'joelbrewster/tomorrow'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/joelbrewster/tomorrow
Ⅳ. 文档说明
# Tomorrow Theme
- Tweak colors for term vim and guivim (dark).
- Add bright colors to term so light and dark aren't identical.
- Change Tomorrow (light) to use inverted background and foreground of Tomorrow (dark).
- Match backgrounds.
#262626is the best.

- Font: Fira Code 13pt
Theme Changer
Change for bright light situations
- Add an alias in your bashrc, etc to change from dark to light on the fly.
alias s="osascript ~/.vim/plugged/Tomorrow/ThemeChanger.scpt"
- included is an app that you can load with alfred.app, launchbar, spotlight or something similar. Select the window you want to change then load the ThemeChanger.app.
- Set vim to change colors based off time.
if strftime("%H") >= 7 && strftime("%H") < 19
colorscheme Tomorrow
set background=light
else
colorscheme Tomorrow-Night
set background=dark
endif