set nocompatible " source $VIMRUNTIME/vimrc_example.vim " source $VIMRUNTIME/mswin.vim " behave mswin set nocp incsearch set cinoptions=:0,p0,t0 set cinwords=if,else,while,do,for,switch,case set formatoptions=tcqr set autoindent set shiftwidth=4 set hlsearch set smartcase set ic set confirm set showcmd set ruler set restorescreen set wildmode=longest,full set km=startsel set slm=mouse,key " " John Dierdorf changes to function keys " map :w map :q map :x map gq} imap :w imap :q imap :x imap gq} imap  autocmd FileType * set formatoptions=tcql nocindent comments& autocmd Filetype c,cpp,h set formatoptions=croql cindent comments=sr:/*,mb:*,ex:*/,:// autocmd BufReadPre *.t*xt set linebreak textwidth=72 " colors ron