From: Bob Hutchison Date: 2005-10-20T21:48:29+09:00 Subject: Re: vimrc and Ruby On Oct 20, 2005, at 5:54 AM, Hugh Sasse wrote: > On Thu, 20 Oct 2005, Dave Bettin wrote: > > > >> Does anybody have a .vimrc file geared specifically for Ruby >> development? >> >> > > I have > Thank you Hugh! I added a few things to my .vimrc file based on yours and the ruby extensions seem to work now (they didn't before) Cheers, Bob > > set autoindent > set expandtab > set shiftwidth=2 " Mostly Ruby development -- std convention 2, not 4 > set textwidth=68 " Do want this generally applied now... > "set ttyscroll=0 > runtime ftplugin/man.vim " allows :Man to access manual on unix. > filetype plugin on "if you want the ftplugin to run > filetype indent on "if you want indenting support > syntax on > runtime plugin/matchit.vim > " redraw after pasting in non-paste mode. Doesn't seem to work in > "PuTTY??? > "nmap :exe ":undo|:set paste|:normal .:set nopaste" > > > "Give a status line always > set ls=2 > > > What did you want to achieve? > > >> >> thanks, >> Dave >> >> >> > Hugh > > >> >> >> >> > > > > > ---- Bob Hutchison -- blogs at Recursive Design Inc. -- Raconteur --