Skip to content

marslo/marslo.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

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:
    • C:\Program Files (x86)\Vim\vim74\colors
    • Recommend:
      C:\Program Files (x86)\Vim\vimfiles\colors

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.vimmarslo256.vim
  • 将两个文件都放入vim的colors目录, 例如(64位系统):
    • C:\Program Files (x86)\Vim\vim74\colors
    • 强烈推荐:
      C:\Program Files (x86)\Vim\vimfiles\colors

使用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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published