当前位置:
首页 >
Vim杂记:Sublime的配色方案
发布时间:2024/9/20
39
豆豆
生活随笔
收集整理的这篇文章主要介绍了
Vim杂记:Sublime的配色方案
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
来源:http://www.cnblogs.com/fsjohnhuang/p/3911611.html
一、前言
爱美之心人皆有之,sublime的配色实在好看,于是希望Vim也能这样。
二、配置
1.下载monokai(https://github.com/sickill/vim-monokai),然后将Monokai.vim保存到~/.vim/colors下;
2.配置~/.vimrc文件,添加 syntax enable 、 colorscheme Monokai 两行。我的~/.vimrc文件如下
set encoding=utf-8set 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
如果您觉得本文的内容有趣就扫一下吧!捐赠互勉!
总结
以上是生活随笔为你收集整理的Vim杂记:Sublime的配色方案的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: CGI模式,模块模式与CLI模式运行PH
- 下一篇: sublime text2 用ctags