TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:21349] vim help
On Sat, Sep 16, 2000 at 04:44:05PM -0500, Michael Josephson wrote:
> I've been using vim for my programming editor, and I must say, I
> really like it. So I'm also using it as my editor inside of mutt
> (set editor="vim -c 'set nonu' -c 'set wrapmargin=76'". Well, it is
> with the
Use tw=76 instead. I'd also set your ts=4 sw=4 et ai (tabstop=4
shiftwidth=4 expandtab -- use spaces instead of tabs -- and
autoindent).
Another nice trick with vim is the use of 'gq}' while in command mode,
which is short for re-wrap paragraph up to the next open block. You
can do line by line with 'gq<RET>' and then repeat it with '.'.
Welcome to the masses, my young Vedi. (Oh, bad pun. No biscuit for
me.)
--
Chad "^chewie, gunnarr" Walstrom <chewie@wookimus.net>
http://wookimus.net/chewie
PGP signature
- References:
- vim help
- From: Michael Josephson <mjj55409@yahoo.com>