if has("autocmd") autocmd! autocmd FileType automake set noexpandtab list autocmd FileType make set noexpandtab list autocmd FileType python set tabstop=4 shiftwidth=4 expandtab list autocmd FileType python highlight rightMargin ctermfg=lightred autocmd FileType python match rightMargin /.\%>79v/ autocmd FileType mail set tabstop=8 shiftwidth=8 textwidth=73 wrapmargin=5 autocmd FileType mail abbr teh the "autocmd BufRead */mysql* set tabstop=8 shiftwidth=2 expandtab autocmd BufRead *.test set syntax=mysql_test autocmd BufRead *.inc set syntax=mysql_test endif syntax on set background=dark hi comment ctermfg=DarkCyan " common defaults ------ set listchars=tab:>- ruler smarttab autoindent tabstop=4 shiftwidth=4 noexpandtab nolist modelines=5 nocompatible nospell modeline abbr #!p #!/bin/sh """"exec ${PYTHON:-python} -t $0 "$@";" """ # vim: filetype=python noexpandtab smarttab abbr #!P #!/bin/sh """"exec ${PYTHON:-python} -t $0 "$@";" """ # vim: filetype=python noexpandtab smarttab import logging import logging.handlers def main(args): rotating_log = logging.handlers.RotatingFileHandler('log', 'a', 1000000, 1) # FIXME rotating_log.setLevel(logging.DEBUG) formatter = logging.Formatter('%(asctime)s %(levelname)-8s %(message)s') rotating_log.setFormatter(formatter) logging.getLogger('').addHandler(rotating_log) logging.getLogger('').setLevel(logging.DEBUG) if __name__ == "__main__": import sys main(sys.argv)  " diff specifics set diffopt=filler set diffopt+=iwhite nnoremap u :diffupdate nnoremap g :diffget nnoremap p :diffput inoremap