且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Vim杂记:Sublime的配色方案

更新时间:2022-09-17 14:17:38

一、前言                                    

  爱美之心人皆有之,sublime的配色实在好看,于是希望Vim也能这样。

 

二、配置                                    

 1.下载monokai(https://github.com/sickill/vim-monokai),然后将Monokai.vim保存到~/.vim/colors下;

 2.配置~/.vimrc文件,添加 syntax enable 、 colorscheme Monokai 两行。我的~/.vimrc文件如下

Vim杂记:Sublime的配色方案
set encoding=utf-8
set fileencoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,cp936
set guifont=Consolas:h15
language messages zh_CN.utf-8
set lines=45 columns=100
set number
set autoindent
set smartindent
set tabstop=4
set autochdir

set shiftwidth=4
set foldmethod=manual

syntax enable colorscheme Monokai
set nocompatible set nobackup
Vim杂记:Sublime的配色方案

 

三、参考                        

http://calefy.org/2012/10/30/the-config-of-my-vim.html

如果您觉得本文的内容有趣就扫一下吧!捐赠互勉!
Vim杂记:Sublime的配色方案


本文转自^_^肥仔John博客园博客,原文链接:http://www.cnblogs.com/fsjohnhuang/p/3911611.html,如需转载请自行联系原作者