From: "Ralf Müller" Date: 2005-04-29T17:53:39+09:00 Subject: Re: Ruby and IDE On Thu, 28 Apr 2005 21:55:04 +0900 Thomas Kirchner wrote: > > t> 4/ autocompletion > > Difficult in a dynamic language like ruby. We discussed this to death > > in the past. Please use google. > > Obviously, this is incredibly difficult for ruby. However, when I've > used IDEs in the past, this was exactly what I appreciated most. I think > it'd be possible to get some basic autocompletion, skipping some of the > more difficult dynamic elements, and most people would be happy, if not > content. Maybe you already know, but I'm very happy with this style of vim-autocompletition: taken from my .vimrc: " smart mapping for tab completion function InsertTabWrapper() let col = col('.') - 1 if !col || getline('.')[col - 1] !~ '\k' return "\" else return "\" endif endfunction inoremap =InsertTabWrapper() " Dictionary completions set dictionary-=/usr/share/dict/words dictionary+=/usr/share/dict/words set complete-=k complete+=k regards ralf