" We use a vim set nocompatible " " Colo(u)red or not colo(u)red " If you want color you should set this to true " let color = "true" " if has("syntax") if color == "true" " This will switch colors ON so ${VIMRUNTIME}/syntax/syntax.vim "so /usr/share/vim/vim70/syntax/syntax.vim else " this switches colors OFF syntax off set t_Co=0 endif endif " set nu set autoindent " " thanks to lamech :-) " Make tabs 2 spaces wide, and type 2 spaces whenever I hit 'tab': set shiftwidth=2 set tabstop=2 set expandtab " " Show me tabs and trailing space chars (tabs show up as '>---' and trailing spaces as '@'): set listchars=trail:@,tab:>- "set list " " per Ron Johnson "set textwidth=72 set textwidth=500 " this seems overridden by formatoptions-=t "set textwidth=0 "set tw=0 " isn't this the same as textwidth? set wrap set linebreak set nolist " list disables linebreak "set textwidth=0 set wrapmargin=0 set formatoptions-=t " this seems to have made the bad man go away "set formatoptions+=l " can use with existing tw settings, but not clobber existing long lines "autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " lose the stupid tilde files set nobackup " ...and the .un~ nonsense set noundofile " ~/.vimrc ends here