Created
May 1, 2016 05:58
-
-
Save zhpengg/249f9a0eae6b7e0b3384ea5b0db27954 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " use vim defaults | |
set ls=2 " allways show status line | |
set expandtab " use space to replace tab | |
set tabstop=4 " numbers of spaces of tab character | |
set shiftwidth=4 " numbers of spaces to (auto)indent | |
set scrolloff=3 " keep 3 lines when scrolling | |
set showcmd " display incomplete commands | |
set hlsearch " highlight searches | |
set incsearch " do incremental searching | |
set ruler " show the cursor position all the time | |
set visualbell t_vb= " turn off error beep/flash | |
set novisualbell " turn off visual bell | |
set nobackup " do not keep a backup file | |
set noignorecase " don't ignore case | |
set title " show title in console title bar | |
set ttyfast " smoother changes | |
set modeline " last lines in document sets vim mode | |
set modelines=3 " number lines checked for modelines | |
set shortmess=atI " Abbreviate messages | |
set nostartofline " don't jump to first character when paging | |
set whichwrap=b,s,h,l,<,>,[,] " move freely between files | |
set autoindent " always set autoindenting on | |
set smartindent " smart indent | |
set cindent " cindent | |
set fileencodings=utf-8,cp936,big5,latin1 | |
set fileencoding=utf-8 | |
set encoding=utf-8 | |
set ambiwidth=double | |
let $LANG='en' | |
set mouse="" | |
colorscheme default " use this color scheme | |
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
" auto quotes | |
inoremap {<CR> {<CR>}<Esc>O |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment