vimrc

set number                          "显示行号
syntax on                           "语法高亮,关闭
set tabstop=4                       "tab键为4个空格
set shiftwidth=4
set softtabstop=4
set autoindent                     "自动对齐
set smartindent                   "智能对齐
set cindent                         "C语言格式对齐
set mouse=a                         "鼠标支持
set showmatch                     "括号匹配模式
set incsearch                       "搜索时一边输入一边显示效果
set clipboard+=unnamed        "与windows共享剪贴板

colorscheme industry "配色方案
set guifont=Consolas:h14 "设置字体为Consolas,大小14

posted @ 2016-11-02 16:04  volcanorao  阅读(115)  评论(0)    收藏  举报