set textwidth=0 set tabstop=4 set softtabstop=4 set shiftwidth=4 set autoindent set backspace=indent,eol,start set incsearch set ignorecase set ruler set wildmenu " automatically save and restore folds "au BufWinLeave * mkview "au BufWinEnter * silent loadview " this lets us put the marker in the file so that " it can be shared across and stored in version control. "set foldmethod=marker " this is for python, put " # name for the folded text # {{{ " to begin marker and " # }}} " close to end it. set commentstring=\ #\ %s set foldlevel=0 " share clipboard with windows clipboard set clipboard+=unnamed set hlsearch noremap :silent nohecho set mouse=a let g:miniBufExplMapWindowNavArrows = 1 let g:miniBufExplMapCTabSwitchWindows = 1 if has("autocmd") autocmd FileType python set complete+=k/home/ertug/.vim/pydiction-0.5/pydiction isk+=.,( endif " has("autocmd") colorscheme wombat syntax on augroup Java au! au FileType python set autoindent smartindent sts=4 sw=4 tw=80 fo=croq augroup end let python_highlight_all = 1 augroup Python au! "au BufNewFile *.py read ~/util/templates/Python.py au FileType python set autoindent smartindent et sts=4 sw=4 ts=4 tw=0 fo=croq " turn off the C preprocessor indenting " (allow comments in Python to be indented properly) "au FileType python inoremap # X^H# "au FileType python set foldenable foldmethod=indent augroup end au BufRead,BufNewFile data set syntax=hgndata map :let &background = ( &background == "dark"? "light" : "dark" ) map :let &mouse = ( &mouse == "a"? "" : "a" ) " gettext macros :vmap tt dipa")?> :vmap tr di'.__('pa').'