我的vimrc
来源:互联网 发布:澳门网络博客官方网站 编辑:程序博客网 时间:2024/05/21 06:59
" ref:http://amix.dk/vim/vimrc.html
" using gvim 73 on windows
set nocompatible
" not usin backup files
set nobackup
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => VIM user interface
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Set 7 lines to the cursor - when moving vertically using j/k
set so=7
" Turn on the WiLd menu
set wildmenu
" Ignore compiled files
set wildignore=*.o,*~,*.pyc
"Always show current position
set ruler
" Height of the command bar
set cmdheight=2
" A buffer becomes hidden when it is abandoned
set hid
" Configure backspace so it acts as it should act
set backspace=eol,start,indent
set whichwrap+=<,>,h,l
" Ignore case when searching
set ignorecase
" When searching try to be smart about cases
set smartcase
" Highlight search results
set hlsearch
" Makes search act like search in modern browsers
set incsearch
" Don't redraw while executing macros (good performance config)
set lazyredraw
" For regular expressions turn magic on
set magic
" Show matching brackets when text indicator is over them
set showmatch
" How many tenths of a second to blink when matching brackets
set mat=2
" No annoying sound on errors
set noerrorbells
set novisualbell
set t_vb=
set tm=500
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors and Fonts
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Enable syntax highlighting
syntax enable
colorscheme desert
set background=dark
" Set extra options when running in GUI mode
if has("gui_running")
set guioptions-=T
set guioptions+=e
set t_Co=256
set guitablabel=%M\ %t
endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Text, tab and indent related
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Use spaces instead of tabs
set expandtab
" Be smart when using tabs ;)
set smarttab
" 1 tab == 4 spaces
set shiftwidth=4
set tabstop=4
" Linebreak on 500 characters
set lbr
set tw=500
set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines
- 我的vimrc
- 我的vimrc设置
- 我的vimrc
- 我的.vimrc
- 我的 .vimrc 配置
- 我的 .vimrc
- VIM:我的vimrc
- 我的 .vimrc
- 我的vimrc
- 我的.vimrc文件
- 我的.vimrc
- 我的.vimrc
- 我用的vimrc
- 我的vimrc
- 我的vimrc
- 我的vimrc
- 我的.vimrc
- 【Vim】:我的vimrc
- 我想以后记着你心里都是你,再去爱别人。
- grails文件下载
- 个体个人信息安全联盟
- phonegap
- #、##和__VA_ARGS__
- 我的vimrc
- C泛型___函数
- 十三. Sql server avg函数
- oracle 表空间迁移,移动表空间
- 第一个Ajax程序
- Kaggle.com的数据挖掘大奖赛
- QBC查询
- struts2 获取request、session的方法
- C泛型__数据结构