set number colo desert syntax on set autoindent
刚开始弄,比较简单,呵呵
set nocompatible "折行 set linebreak set wrap set fo+=mB "对亚洲语言断行支持 "编码 set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1 set encoding=utf-8 set langmenu=zh_CN.UTF-8 language message zh_CN.UTF-8 "编辑 set magic "magic(\m):除了 $ . * ^ 之外其他元字符都要加反斜杠 filetype on sy on "语法高亮 set ru "标尺信息 set ai " 自动缩进 set smartindent " 智能缩进 set ambiwidth=double "特殊符号占两个字符 set nu! "行号 set sw=4 set ts=4 set et "自动转换tab为四个空格 set smarttab "自动删除四个空格 set mouse=a "开启鼠标 set dy=lastline "显示最多行,不用@@ set backspace=indent,eol,start set nobackup "无备份 set showmatch "自动匹配 "搜索 set hlsearch "高亮搜索 set incsearch "边搜索边出结果 set ignorecase "大小写不敏感 "文件 set autochdir "自动切换到文件所在文件夹 set autoread "自动重载 set history=100 "美化 if has(“gui_running”) set go=aAce " 去掉难看的工具栏和滑动条 set transparency=30 " 透明背景 set guifont=Monaco:h18 " 设置默认字体为monaco set showtabline=2 " 开启自带的tab栏 set columns=80 " 设置宽 set lines=23 " 设置长 endif "colo koehler colo torte set wildmenu "命令补全弹菜单