mayansmoke


Ⅰ. 插件描述

Ergonomic light-background color scheme.

Ⅱ. 基本信息

创建日期:  2010-04-17
使用用户:  65
Github星:  20
插件作者:  Jeet Sukumaran

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This is a pleasant and ergonomic light-background color scheme, designed for long hours of coding and working. The UI elements are muted without being drab, the syntax elements are colorful without being garish, and the background is relaxing without being soporific. It is of a low-enough contrast so as not to cause eye-burn, but high-enough contrast so as not to cause eye-strain. The syntax coloration offers just a little higher resolution than most, distinguishing between class names vs. functions, strings and numbers vs. other constants, etc. Many of the colors in this color scheme are drawn from Mayan murals, paintings and codices, and thus the name.

Screenshots:

    http://jeetworks.org/mayansmoke

Customization:

If any of the following highlights are defined (e.g., in your "~/.vimrc"), these will override the default highlight definitions:

    MayanSmokeCursorLine    (will be applied to: CursorColumn and CursorLine)
    MayanSmokeSearch        (will be applied to: Search and IncSearch)
    MayanSmokeSpecialKey    (will be applied to: SpecialKey)

For example, you can set the following in your "~/.vimrc" to select your own colors for these items:

    hi MayanSmokeCursorLine     guifg=NONE   guibg=yellow  gui=NONE
    hi MayanSmokeSearch         guifg=white  guibg=blue    gui=NONE
    hi MayanSmokeSpecialKey     guifg=NONE   guibg=green   gui=NONE

Alternatively, you can define one or more of the following values in your "~/.vimrc" to select different pre-defined levels of visibility for the above highlights:

    let g:mayansmoke_cursor_line_visibility = 0  " lower visibility
    let g:mayansmoke_cursor_line_visibility = 1  " medium visibility
    let g:mayansmoke_cursor_line_visibility = 2  " higher visibility

   let g:mayansmoke_search_visibility = 0 " low visibility
   let g:mayansmoke_search_visibility = 1 " medium visibility (default)
   let g:mayansmoke_search_visibility = 2 " high visibility
   let g:mayansmoke_search_visibility = 3 " very high visibility
   let g:mayansmoke_search_visibility = 4 " highest visibility

    let g:mayansmoke_special_key_visibility = 0  " lower visibility
    let g:mayansmoke_special_key_visibility = 1  " medium visibility
    let g:mayansmoke_special_key_visibility = 2  " higher visibility

添加新评论