On Sun, 2003-09-21 at 19:26, Ravi Parimi wrote:
>
> > I discovered a nifty completion shortcut in emacs today. When typing a
> > word, if you hit Esc+/ it will complete the word.
> >
> > My question is: Can this shortcut be accomplished in vim/gvim?
>
> You can use abbr in your .vimrc for word completion. For e.g., if you have
>
> abbr pr printf
>
> in your .vimrc and type pr followed by a space, the corresponding word is
> printed. CTRL+n also achieves something similar. Check out
> http://www.vim.org/tips/tip.php?tip_id=4
>
> HTH,
> --ravi
>
Ctrl+n is exactly what I was looking for. The 'abbrv' thing is going to
be helpful too.
Thx,
Bart