marslo.vim


Ⅰ. 插件描述

The color configurated by Marslo, including 256 and 16. The github repo for vim plug: http://www.vim.org/scripts/script.php?script_id=4772

Ⅱ. 基本信息

创建日期:  2013-11-18
使用用户:  3
Github星:  8
插件作者:  Marslo Jiao

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

marslo.vim

The vim color configurate by Marslo, including 256 and 16

Screenshot:

  • Windows (Gvim [Python]):
    windows
  • Linux (Terminal [HTML])
    Linux Termianl
  • Linux (Gvim [CSS])
    Linux Gvim
  • PuTTy (vimrc)
    PuTTy

Context

Usage:

Installation:

By manual:

  • Download the marslo16.vim and marslo256.vim
  • Put the file into colors folder, for example:
    - <pre>C:Program Files (x86)Vimvim74colors</pre>
    - Recommend: <pre>C:Program Files (x86)Vimvimfilescolors</pre>

By Vundle:

  • Copy the setting into _vimrc(windows) or .vimrc(Linux):
Bundle 'Marslo/marslo.vim'
- Add execute the command as below in vim/gvim:
:BundleInstall
### How to use it #### For Linux: - Add the following configure to .bashrc (~/.bashrc) make termianl support 256 color:
 if [ -e /usr/share/terminfo/x/xterm-256color ];
    then
        export TERM='xterm-256color'
    # Ubuntu
    elif [ -e /lib/terminfo/x/xterm-256color ];
    then
        export TERM='xterm-256color'
    else
        export TERM='xterm-color'
    fi
    
  • And, and the following configure to .vimrc (~/.vimrc)
if has('gui_running') || 'xterm-256color' == $TERM
      colorscheme marslo256
      let psc_style='cool'
    else
      colorscheme marslo16
    endif
    

For Windows:

  • Just Add the fowlling configure to _vimrc (C:Program Files (x86)Vim_vimrc [64bit system])
if has('gui_running') || 'xterm-256color' == $TERM
      colorscheme marslo256
      let psc_style='cool'
    else
      colorscheme marslo16
    endif
    

使用方法

如何安装

手动添加

  • 下载 marslo16.vim 和 marslo256.vim
  • 将两个文件都放入vim的colors目录, 例如(64位系统):
    - <pre>C:Program Files (x86)Vimvim74colors</pre>
    - 强烈推荐: <pre>C:Program Files (x86)Vimvimfilescolors</pre>

使用Vundle管理

  • 将如下代码拷贝复制至 _vimrc(windows) 或 .vimrc(Linux)
Bundle 'Marslo/marslo.vim'
- 在 vim/gvim 中运行如下命令即可完成自动安装:
:BundleInstall
### 如何使用 #### Linux 用户 - 将如下配置添加至 .bashrc (~/.bashrc), 使得Linux终端(terminal)支持256色:
 if [ -e /usr/share/terminfo/x/xterm-256color ];
    then
        export TERM='xterm-256color'
    # Ubuntu
    elif [ -e /lib/terminfo/x/xterm-256color ];
    then
        export TERM='xterm-256color'
    else
        export TERM='xterm-color'
    fi
    
  • 然后,将如下配置添加至 .vimrc (~/.vimrc)
if has('gui_running') || 'xterm-256color' == $TERM
      colorscheme marslo256
      let psc_style='cool'
    else
      colorscheme marslo16
    endif
    

Windows用户

  • 只需将如下配置加入 _vimrc 文件即可 (C:Program Files (x86)Vim_vimrc [64bit system])
if has('gui_running') || 'xterm-256color' == $TERM
      colorscheme marslo256
      let psc_style='cool'
    else
      colorscheme marslo16
    endif
    

Documents about vim color:

ChangeLog:

256color:


v1.0: Modified at 2012.05.29
      File Name: desert_Marslo_ForLinux
v1.1: Modified at 18/10/2012 16:49:12.92
      File Name: desert_Marslo_ForLinux_2
v1.2: Modified at 08/11/2012 16:05:59.95
      File Name: desert_Marslo_ForLinux_3
      Modified: g:colors_name
                Normal        guibg
                NonText       guibg
                StatusLine    guibg
                StatusLineNC  guibg
                Folded        guibg
                FoldColumn    guibg
v1.3: Modified at 17/12/12 19:36:21
      File Name: desert_Marslo_ForLinux_v3
      Modifed:
               Pmenu        guibg ctermbg
               PmenuSel     guifg guibg ctermbg
               PmenuSbar    guifg guibg
v1.4: Modified at 31/10/13 15:47:08
      File Name: marslo.vim
      Added:
              MatchParen      guibg ctermbg gui cterm term
              LineNr          guifg guibg ctermfg ctermbg
              CursorLineNr    guifg guibg gui ctermbg ctermfg
v1.5: Modified at 07/11/13 17:52:47
      File Name: marslo.vim
      Added:
              MBEVisibleActive    guifg guibg
              MBEVisibleNormal    guifg guibg
v1.6: Modified at 12/11/13 14:08:10
      File Name: marslo265.vim
      Add:
              HTML tags
              NERDTree
      Modifiy:
              Identifier          cterm
              Visual              ctermfg
              Change name from marslo.vim to marslo256.vim
v.1.7: Modified at 12/11/13 15:58:50
      File Name: marslo256.vim
      Modified:
              Update the format
v1.8: Modified at 18/11/13  20:03:20
      File Name: marslo256.vim
      Modified:
              String              guifg
              Entity              guifg
              Support             guifg
              Type                guifg
              FoldColumn          guifg
              Directory           guifg
v1.9: Modified at 30/12/13 19:51:11
      Modified:
              spearate the change log

16colors


v1.0: Modified at 2012.05.29
      File Name: desert_Marslo_ForLinux
v1.1: Modified at 18/10/2012 16:49:12.92
      File Name: desert_Marslo_ForLinux_2
v1.2: Modified at 08/11/2012 16:05:59.95
      File Name: desert_Marslo_ForLinux_3
      Modified: g:colors_name
                Normal        guibg
                NonText       guibg
                StatusLine    guibg
                StatusLineNC  guibg
                Folded        guibg
                FoldColumn    guibg
v1.3: Modified at 17/12/12 19:36:21
      File Name: desert_Marslo_ForLinux_v3
      Modifed:
               Pmenu        guibg ctermbg
               PmenuSel     guifg guibg ctermbg
               PmenuSbar    guifg guibg
v1.4: Modified at 31/10/13 15:47:08
      File Name: marslo.vim
      Added:
              MatchParen      guibg ctermbg gui cterm term
              LineNr          guifg guibg ctermfg ctermbg
              CursorLineNr    guifg guibg gui ctermbg ctermfg
v1.5: Modified at 07/11/13 17:52:47
      File Name: marslo.vim
      Added:
              MBEVisibleActive    guifg guibg
              MBEVisibleNormal    guifg guibg
V1.6: Modified at 12/11/13 14:20:13
      File Name: marslo16.vim
      Modified:
              Change name from marslo.vim to marslo16.vim
v1.7: Modified at 13/11/13 18:20:09
      File Name: marslo16.vim
      Modified:
              Update the format
v1.8: Modified at 18/11/13  20:03:20
      File Name: marslo16.vim
      Modified:
              String              guifg
              Entity              guifg
              Support             guifg
              Type                guifg
              FoldColumn          guifg
              Directory           guifg
v1.9: Modified at 30/12/13 19:51:11
      Modified:
              spearate the change log

Thanks for

添加新评论