Vim杂记:Sublime的配色方案

简介:

一、前言                                    

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

 

二、配置                                    

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

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

复制代码
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
复制代码

 

三、参考                        

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

如果您觉得本文的内容有趣就扫一下吧!捐赠互勉!


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

相关文章
|
开发工具
Sublime-text markdown with Vim mode and auto preview
说明 最近看到markdown相关的东西,被其书写方式吸引,其实以前就在找这种类似的工具,但是也没找到,由于习惯了Vim,可Vim不支持markdown预览,这点可能不是很好,于是找到Sublime-text作为底板,用Vim模式编辑。
768 0
|
开发工具
Sublime 下配置vim模式 + VintageEx-master下载地址
   VintageEx-master下载地址: 官方地址:https://github.com/SublimeText/VintageEx 百度云链接: http://pan.baidu.com/s/1ntIHh3r 密码: 3nrw     最近用上了sublime text2, 和textmate比界面要漂亮一些,而且几个平台下都有对应版本,比较统一。
1117 0
|
5月前
|
前端开发 JavaScript Linux
Sublime Text 3配置Go语言开发环境
【4月更文挑战第13天】本篇文章 Huazie 向大家介绍使用 Sublime Text 3搭建Go语言开发环境,并演示编译运行 Go语言代码
813 8
Sublime Text 3配置Go语言开发环境
|
4月前
lua环境,sublime text 插件安装
lua环境,sublime text 插件安装