[Tutor] IDLE as battery included

dman dsh8290@rit.edu
Tue, 27 Nov 2001 19:13:37 -0500


On Tue, Nov 27, 2001 at 07:07:50PM -0500, Andrei Kulakov wrote:
| On Tue, Nov 27, 2001 at 07:02:07PM -0500, dman wrote:
| > On Tue, Nov 27, 2001 at 06:44:09PM -0500, Andrei Kulakov wrote:
| > | On Tue, Nov 27, 2001 at 12:34:14PM -0000, alan.gauld@bt.com wrote:
| > 
| > | > If you are using number targets then turning on line numbering 
| > | > helps a lot - then you can just use G....
| > | > 
| > | > :set nu
| > | 
| > | Yes, that's a good idea.. gg is even better, no reaching for the shift
| > | button ;P Too bad nu takes up alot of space on the left. 7 spaces even
| > | when the highest line nubmer takes only 2 spaces! I hope this can be
| > | changed somehow..
| > 
| > This is one of the main reasons I don't use that feature.  Also, I'm
| > not used to seeing the numbers on the left.
| > 
| > However, there was a patch posted to vim-dev recently to allow
| > adjusting the width of the column used for the numbers.  Care to test
| > it :-)?
| 
| Well, I'd rather have it grow to the width of the widest line number..

Sure.

| If there's 100 lines, it should be 3 spaces wide, and so on. This patch
| only lets you hard-set it?

http://groups.yahoo.com/group/vimdev/message/26349

That's what it looks like, but I bet you could write some autocommands
that would make it grow :-).  I don't know which events need to be
caught (or if they are even available right now) but the vim list
could help with that.

-D

-- 

the nice thing about windoze is - it does not just crash,
it displays a dialog box and lets you press 'ok' first.