~/.vimrc " When started as "evim", evim.vim will already have done these settings. " VMS 系统会自动产生备份文件,所以这里把备份去掉,备份文件名为原来文件名后加~ " For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries " 未知 " 未知 " 当终端支持颜色或者运行着gui版本时打开高亮及搜索关键词高亮 " Only do this part when compiled with support for autocommands. " Enable file type detection. " Put these in an autocmd group, so that we can delete them easily. " For all text files set 'textwidth' to 78 characters. " When editing a file, always jump to the last known cursor position. augroup END else set autoindent " always set autoindenting on endif " has("autocmd") " Win32 简体中文 " 颜色主题 " Use Vim settings, rather then Vi settings (much better!). " allow backspacing over everything in insert mode " 设置命令历史行数为50行 " 设置当前光标位置 " 在命令末尾输完之前显示命令 " Make command line two lines high " 设置搜索方向为向前搜索 " 显示TAB健 " 设置路径,在 <C-W>f 等命令中涉及此参数 " 告诉 Vim 先尝试用 UNIX 格式在尝试 MS-DOS 格式 " 搜索忽略大小写 " 先是行号 " 打开不同类型文件特有的缩近 " 制表符TAB宽度,保持兼容 " 指定下一级的缩近空格数 " 在C注释中高亮字符串 " 关闭备份 " 设置备份目录 " 如果当前目录找不到tags文件,则向上一级目录查找 "map <F12> :runtime syntax/2html.vim<CR> " 定义剪切命令 " 定义复制命令 " 定义粘贴命令 " 定义撤销命令 " 编辑模式下 Ctrl+o 插入新行 " Ctrl+a 全选 " Ctrl+s 保存文件 " Ctrl+q 退出 "map <F11> <C-W>w " 语音朗读 " 用于浏览tags的脚本 " 用于浏览project的脚本 " 设定 TagExplorer 环境 " 进入当前编辑的文件的目录 |
vim配色设置(转)
最新推荐文章于 2023-07-07 15:15:01 发布
vim 颜色设置
http://hi.baidu.com/hockbase/blog/item/2379ad8b0714c87d9f2fb45a.html