TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:10225] Word wrapping in vi
On Thu, 18 Nov 1999, John R. Sheets wrote:
> Not sure if this will work in non-vim vi, though, if that matters.
> Another *very* cool feature in vim is line re-wrapping, including the
> ">" quote marks in emails. You just do a <esc>gq followed by a
> normal movement command, just like you were doing a 'd' or 'c' or
> whatever command. If you also have the textwidth set, you can
> reformat ugly email quotes with very little work. My favorite key
> sequence is 'gq}'.
Very cool ;-) Thanks for the tip. I love vim as an editor and couldn't
figure out how to do this. I really appreciate it.
> Tell me about it. (c: I use vi for mail and admin, and emacs for
> coding. I find myself erroneously hitting <esc> in emacs, but
> curiously, when I'm in vi, I'm fine.
You know...there is a vi emulator for emacs... ;-) I think it's called
viper. *grin*
^chewie