The vim color configurate by Marslo, including 256 and 16
- 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
-
- Copy the setting into _vimrc(windows) or .vimrc(Linux):
Bundle 'Marslo/marslo.vim'
- Add execute the command as below in vim/gvim:
:BundleInstall
- 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
- 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位系统):
-
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
- 将如下配置添加至
.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
- 只需将如下配置加入
_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
- rgb.txt | Name with RGB hexadecimal number
- vim wiki: View all colors available to gvim
- vim wiki: Xterm256 color names for console Vim
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
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