nano-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] options: added 'hide' keyword for .nanorc to disable selecte


From: ObeliX
Subject: Re: [PATCH] options: added 'hide' keyword for .nanorc to disable selected, shortcut hints in bottom window
Date: Tue, 22 Dec 2020 02:05:56 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

There is no need to submit a new patch: the 'hide' keyword will not
be accepted.  (I'm thinking of implementing something different; not
a new keyword, just a changed behavior.)

OK, will use my hack until you find time to implement the changed
behavior. :)

Also, you didn't answer my question:

Which functions would be helpful for you to show in the help lines?
In other words: what 'hide' lines have you put in your .nanorc?

I planned to answer this with the new patch.
but as this is obsolete now, here are the setting I use in my nanorc.

hide help cut left
hide exit paste justify wherewas copy right

I asked that because probably the example you would give would lead
to help items getting unpaired in some menu, which would look ugly.

yes, but you can mess up the alignment with the bind and unbind keyword
too. for instance, in addition to the hide setting above, I also bind ^C
to 'copy' and I unbind F11 (because KDE-Konsole is using F11 itself by
default to toggle fullscreen). thus, w/o any shortcut assigned anymore
the 'show cursor position' disappears from the bottom window help.
I did not assign a different key for it, as I don't need the
position-shortcut at all, because I use nano with constantshow setting
anyway.

with this and my hide setting, the paired shortcuts remain aligned.


Obel




reply via email to

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