" Configuration file for vim set modelines=0 " CVE-2007-2438 " Normally we use vim-extensions. If you want true vi-compatibility " remove change the following statements set nocompatible " Use Vim defaults instead of 100% vi compatibility set backspace=2 " more powerful backspacing " Don't write backup file if vim is being called by "crontab -e" au BufWrite /private/tmp/crontab.* set nowritebackup nobackup " Don't write backup file if vim is being called by "chpass" au BufWrite /private/etc/pw.* set nowritebackup nobackup let skip_defaults_vim=1 " <============================= zch private define =============================> set encoding=utf-8 " 使用utf-8编码 syntax on " 开启高亮 set number " 显示行号 " set relativenumber " 显示相对行号 " set cursorline " 使用下划线标识所在行 set showmode " 底部显示当前处于命令模式还是插入模式 set ruler " 打开状态栏标尺 set showmatch " 高亮显示对应的括号 set showcmd " 底部显示当前键入的指令 set mouse=a " 支持使用鼠标 set t_Co=256 " 启用256色 set hlsearch " 搜索内容高亮
标签:set,高亮,设置,being,vim,file,nobackup From: https://www.cnblogs.com/maider/p/16751641.html