noctu.vim


Ⅰ. 插件描述

A Vim color scheme for 16-color terminals

Ⅱ. 基本信息

创建日期:  2013-02-25
使用用户:  71
Github星:  146
插件作者:  Noah Frederick

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'noahfrederick/noctu-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'noahfrederick/noctu-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'noahfrederick/noctu-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/noahfrederick/vim-noctu

Ⅳ. 文档说明

# noctu.vim

A Vim color scheme for 16-color terminals

Actually, this color scheme has a more specific use. Rather than specifying
particular color values for Vim, I prefer to have consistent colors across
all software that I use in the terminal (e.g., colored output from git,
tmux's status bar, etc.). Towards that end, this scheme is restricted to 16
ANSI colors (0 through 15), the representation of which can be redefined by
configuring your terminal emulator. This means that you can change your color
scheme "globally" without having to edit this script.

The color scheme has been tested against the following file types:

  • CSS
  • Git (commit messages, etc.)
  • HTML
  • JavaScript
  • LESS
  • Markdown
  • PHP
  • Ruby
  • Shell
  • Vim help
  • Vim script
  • Vimwiki
  • XML
  • YAML

Appearance

Here's what Noctu looks like in OS X's Terminal.app with a custom theme:

Screen shot of Terminal

Notice that vim, tmux, and the output from git-log share the same palette.

Installation

Just stick noctu.vim in your colors/ directory, or if you manage your
plug-ins with pathogen:

git clone git://github.com/noahfrederick/vim-noctu.git ~/.vim/bundle/noctu

You can find the latest version of this scheme in the GitHub repository.
If you're looking for a color scheme for GUI Vim, you may be interested in
Hemisu by the same author.

添加新评论