marslo.vim : A dark-background color scheme made by Marslo
script karma |
Rating 111/30,
Downloaded by 4249 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Marslo Jiao |
|
script type |
color scheme |
|
description |
The color made by myself. Including 16 color and 256 color.
这是我自己做的vim配色。包括了16色和256色两种
The screenshot: https://github.com/Marslo/marslo.vim#screenshot
无图无真相: https://github.com/Marslo/marslo.vim#screenshot
The github repo for my color scheme: https://github.com/Marslo/marslo.vim
详情查看此配色在github上的repo: https://github.com/Marslo/marslo.vim
-----
Usage:
使用方法:
- Copy the following settings to .vimrc in linux (~/.vimrc) or _vimrc in windows (C:\Program Files (x86)\Vim\_vimrc)
将如下配置拷贝粘贴至 Linux下的.vimrc(~/.vimrc) 或者 windows下的_vimrc(C:\Program Files (x86)\Vim\_vimrc)
if has('gui_running') || 'xterm-256color' == $TERM
colorscheme marslo
let psc_style='cool'
else
colorscheme marslo16
endif
- For Linux, just add the following setting into .bashrc(~/.bashrc). Make sure 256 colors can be supported in Linux Terminal.
如果是Linux用户,还需要将如下配置粘贴复制至 .bashrc(~/.bashrc) 以保证Linux下的终端可以支持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
Anything wrong, just leave message at: https://github.com/Marslo/marslo.vim/issues
任何问题,请到此配色的github的repo处留言: https://github.com/Marslo/marslo.vim/issues |
|
install details |
1. Install by manually:
手动安装:
- For Windows: Download and copy two files (marslo16.vim && marslo.vim) to "colors" folder (C:\Program Files (x86)\Vim\vimfiles\colors, for example)
Windows用户: 下载且拷贝两个文件(marslo16.vim && marslo.vim) 到 "colors" 目录中 (C:\Program Files (x86)\Vim\vimfiles\colors 【64位操作系统】)
- For Linux: Download and copy two files (marslo.vim && marslo16.vim) to ~/.vim/colors
Linux用户: 下载且拷贝两个文件 (marslo.vim && marslo16.vim) 到 ~/.vim/colors
2. Install by Vundle:
通过Vundle安装:
- Add the following setting into .vimrc(linux [~/.vimrc]) or _vimrc(windows [C:\Program Files (x86)\Vim\_vimrc])
将如下配置拷贝至 Linux用户的.vimrc([~/.vimrc) 或 Windows用户的_vimrc(C:\Program Files (x86)\Vim\_vimrc)
Bundle 'Marslo/marslo.vim'
- Execute the command in vim/gvim:
在 vim/gvim 下执行如下命令即可自动安装成功:
:BundleInstall
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.94.202.151
|