On Thu, 28 Apr 2005 21:55:04 +0900
Thomas Kirchner <lists / halffull.org> 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 "\<tab>"
      else
          return "\<c-p>"
      endif
endfunction
inoremap <tab> <c-r>=InsertTabWrapper()<cr>


" Dictionary completions
set dictionary-=/usr/share/dict/words dictionary+=/usr/share/dict/words
set complete-=k complete+=k


regards
ralf