nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH 1/2] bindings: remove the jumpy-scrolling toggle


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH 1/2] bindings: remove the jumpy-scrolling toggle entirely
Date: Sun, 7 Apr 2019 11:05:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Op 06-04-19 om 13:05 schreef Brand Huntsman:
> On Sat, 6 Apr 2019 11:28:43 +0200
> Benno Schulenberg <address@hidden> wrote:
>> The user will have to learn to use -j when working remotely.
> 
> To save four lines of code???

No.  To get rid of what has been an eyesore for a long time.
Smooth scrolling shouldn't have been togglable at all.  Toggles
are for things you want to use for a moment and then switch off
again.  When I hit upon a file with some long lines, I toggle
softwrap on for a moment so I can see the tails of the lines,
and then toggle it off again.  Sometimes I toggle linenumbers
on to see where I am in a file, then toggle them off again.
Sometimes I want automatic hardwrap for a bit of text, and then
switch it off again.  And a fairly new user may want the extra
screen space of --nohelp but may want to peek at the help lines
now and then for just a second.  And so on.

But when you want jumpy scrolling, you want to keep using it for
the rest of the session.  If it's not on, it means you forgot to
invoke nano with the right option or the right alias.

The --nonewlines option is not togglable either, and when you
have a file where you don't want the final newline, it means
you have to save and exit, restart nano with --nonew, remove
the final newline, and save and exit.  It's a bit of a hassle,
but not worth taking up a precious keystroke for a toggle.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]