set nocompatible syntax on filetype plugin on set history=2000 set autoread set shortmess=atI set magic set title set nobackup set novisualbell noerrorbells set visualbell t_vb= set timeoutlen=500 set ttimeout ttimeoutlen=10 set ttyfast set lazyredraw set updatetime=300 set synmaxcol=200 set cursorline cursorcolumn set scrolloff=7 set ruler set nowrap set showcmd showmode set showmatch set matchtime=2 set hlsearch incsearch set ignorecase smartcase set smarttab shiftround set shiftwidth=4 set tabstop=4 set softtabstop=4 set encoding=utf-8 set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1 set termencoding=utf-8 set ffs=unix,dos,mac set formatoptions+=mB set formatoptions-=cro set selection=inclusive set selectmode=mouse,key set completeopt=longest,menu set wildmenu set wildmode=longest,list,full set wildignore=*.o,*~,*.pyc,*.class set backspace=indent,eol,start set whichwrap+=<,>,h,l set background=dark hi clear if exists("syntax_on") syntax reset endif let g:colors_name="desert" set statusline=%<%f\ %h%m%r%=%k[%{(&fenc==\"\")?&enc:&fenc}%{(&bomb?\",BOM\":\"\")}]\ %-14.(%l,%c%V%)\ %P set laststatus=2 autocmd FileType python set tabstop=4 shiftwidth=4 expandtab autocmd BufRead,BufNew *.md,*.mkd,*.markdown set filetype=markdown.mkd let &t_SI .= "\[?2004h" let &t_EI .= "\[?2004l" inoremap [200~ XTermPasteBegin() function! XTermPasteBegin() set pastetoggle=[201~ set paste return "" endfunction