mintty-colors-solarized


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2011-04-18
使用用户:  1
Github星:  419
插件作者:  Michael Newton

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mavnn/mintty-colors-solarized'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mavnn/mintty-colors-solarized'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mavnn/mintty-colors-solarized'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mavnn/mintty-colors-solarized

Ⅳ. 文档说明

# Color settings for the Cygwin mintty terminal

Based on the solarized color scheme by Ethan Schoonover. See full details at http://ethanschoonover.com/solarized

This project can be found at
https://github.com/mavnn/mintty-colors-solarized and is designed to be included as a subtree of https://github.com/altercation/solarized

Mintty internal defaults

You can set these as your default ~/.minttyrc configuration file. This means that a mintty terminal reset doesn't lose your color settings. Simply append the appropriate file to your mintty config file (~/.minttyrc) and then edit the file and tweak as below:

cat ./.minttyrc.light >> ~/.minttyrc

or

cat ./.minttyrc.dark >> ~/.minttyrc

Then open the config file and remove the 3 pre-existing color settings for:

ForegroundColour= ...
BackgroundColour= ...
CursorColour= ...

as they will be re-specified further down in the appended section.

Adding to your login scripts

If for any reason you would prefer not to change your config file, you can do the following:

Copy the two files into a directory in your home (for example .solar) and add one of the following lines to your .bashrc file:

source ~/%your directory%/sol.light

or

source ~/%your directory%/sol.dark

Color schemes can be swapped interactively using the same commands.

添加新评论