colorscheme 256-jungle set laststatus=2 set statusline=%t\ %y\ [line:\ %l]\ [col:\ %c]\ [format:\ %{&ff}] set number set enc=utf-8 set history=300 set autoindent set tabstop=4 set smarttab set shiftwidth=4 set expandtab set incsearch set noerrorbells set ruler set shell=zsh set pastetoggle= set textwidth=79 set si set cindent set iskeyword=a-z,A-Z,48-57,_,.,-,> set cursorline set wildmenu set wildignore=*.o,*.obj set noic :ab printf( printf(""); :ab pymain if __name__ == "__main__": map :!python map :w!:!python % map :set number!set number? map :!pychecker % map :w!:!python -m pdb % map g1 :tabnext 1 map g2 :tabnext 2 map g3 :tabnext 3 map g4 :tabnext 4 map g5 :tabnext 5 "map :!ctags -f ~/.vim/tags/newtag -R --c++-kinds=+p --c-kinds=+pxdf --fields=+iaS --extra=+q . " wrapping comments map ,* :s/^\(.*\)$/\/\* \1 \*\//:nohlsearch map ,( :s/^\(.*\)$/\(\* \1 \*\)/:nohlsearch map ,< :s/^\(.*\)$//:nohlsearch " lhs comments map ,# :s/^/#/:nohlsearch map ,/ :s/^/\/\//:nohlsearch map ,> :s/^/> /:nohlsearch map ," :s/^/\"/:nohlsearch map ,% :s/^/%/:nohlsearch map ,! :s/^/!/:nohlsearch map ,; :s/^/;/:nohlsearch map ,- :s/^/--/:nohlsearch " make error console map :cn map :cp map :tp map :tn autocmd BufWritePre *.py normal m`:%s/\s\+$//e `` autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class filetype plugin on let g:pydiction_location = '/home/jul/.vim/pydiction-1.2/complete-dict' let g:pydiction_menu_height = 20