Quoting Benno Schulenberg (2020-01-31 14:19:10) > > Hello Jonas, > > Op 30-01-2020 om 11:37 schreef Jonas Smedegaard: > > Quoting Jonas Smedegaard (2020-01-30 10:53:44) > >>> No key is bound to function 'Cancel' in menu 'yesno'. Exiting. > >>> If needed, use nano with the -I option to adjust your nanorc settings. > > Indeed. Older nanos did not include the yesno menu in "all". > And apparently I haven't tested the alternative key bindings > since that was changed. Thanks for reporting! > > > A better fix is to insted limit custom cut/paste bindings to main mode, > > i.e. in /etc/nanorc replace these: > > > > #bind ^C copy all > > #bind ^V paste all > > > > with these: > > > > #bind ^C copy main > > #bind ^V paste main > > For ^C, yes, I will make the suggested change. But pasting is valid also > at most prompts, so I want to keep the "bind ^V paste all". > > > On a related note - thanks to feedback from my partner, who finds it > > confusing > > that "save" prompts for filename when editing an existing file - I suggest > > to > > add this to the "usual" set as well (e.g. just below initial ^Q binding): > > > > #bind ^S savefile main > > But that is a default bind, so there is no need to make it. Or do you > wish to have it listed for documentation purpose, so that the user knows > from reading that list which important keystrokes are available in that > alternative set?
Ah, I wasn unaware that it was bound by default - which indicates that yes I think it would be splendid if that binding was listed at the bottom :-) I have looked (but not really hard) for documentation of default bindings. If that's not currently documented then I suggest doing so and/or implement a command to emit current bindings. If already documented, then sorry - I apparently just didn't look hard enough :-) -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature

