Vim杂记:Sublime的配色方案
生活随笔
收集整理的這篇文章主要介紹了
Vim杂记:Sublime的配色方案
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
來源: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
如果您覺得本文的內(nèi)容有趣就掃一下吧!捐贈互勉!
總結(jié)
以上是生活随笔為你收集整理的Vim杂记:Sublime的配色方案的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CGI模式,模块模式与CLI模式运行PH
- 下一篇: sublime text2 用ctags