" hoorace vimrc set nocompatible set fileencodings=usc-bom,utf-8,gbk set mouse=a set nobomb set nowrap set number set tabstop=4 set shiftwidth=4 set smarttab set expandtab set softtabstop=4 set autoindent set copyindent set backspace=indent,eol,start set cursorline set showmatch set ignorecase set hlsearch set incsearch set history=1000 set undolevels=1000 set nobackup set noswapfile let g:acp_behaviorSnipmateLength = 1 syntax on filetype plugin indent on if (has("gui_running")) set guifont=Inconsolata:h14 colorscheme desert set guioptions-=m set guioptions-=T endif filetype plugin on autocmd FileType python set omnifunc=pythoncomplete#Complete let g:AutoComplPop_Behavior = { \ 'c': [ {'command' : "\\", \ 'pattern' : ".", \ 'repeat' : 0} \ ] \} set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L] set laststatus=2 set guitablabel=%N.%t "imap :tabnew "nmap :tabnew "imap :tabclose "nmap :tabclose imap :tabnext nmap :tabnext imap :tabprevious nmap :tabprevious imap :tabfirst nmap :tabfirst imap 2gt nmap 2gt imap 3gt nmap 3gt imap 4gt nmap 4gt imap 5gt nmap 5gt imap 6gt nmap 6gt imap 7gt nmap 7gt imap 8gt nmap 8gt imap 9gt nmap 9gt autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class