现在的位置: 首页 > 综合 > 正文

Mac 中Vim加亮设置

2014年09月05日 ⁄ 综合 ⁄ 共 312字 ⁄ 字号 评论关闭

To set your vim default colorscheme to a theme named "slate", just follow these simple steps:

 

First, edit a file named ~/.vimrc. If it doesn't already exist, create it.

 

Second, add the following lines to that file. If the file already exists, just put these lines at the end of the file, otherwise just insert them.

 

" color scheme of the moment:
syntax on
colorscheme slate

抱歉!评论已关闭.