help-nano
[Top][All Lists]
Advanced

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

Re: Case conversion keybindings not working


From: Benno Schulenberg
Subject: Re: Case conversion keybindings not working
Date: Fri, 20 Aug 2021 11:56:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Op 20-08-2021 om 04:07 schreef Bhikhu:
> I just finished compiling nano 5.8 and was playing around with the 
> sample.nanorc
> file. Everything is honky-dory but I can't seem to make head or tail out of 
> this
> particular keybinding,
> 
> bind Sh-M-U "Oc|sed 's/.*/\U&/' " main
> bind Sh-M-L "Oc|sed 's/.*/\L&/' " main

These example bindings should actually look like this:

  bind Sh-M-U "^[Oc^[[1;6D^T|sed 's/.*/\U&/'^M" main
  bind Sh-M-L "^[Oc^[[1;6D^T|sed 's/.*/\L&/'^M" main

Make sure to use nano to edit your nanorc files.
And copy and paste from there.

> Pressing "Shift+Alt+U" keys while a cursor is under a word produces this 
> message
> in nano,
> "Enter line number, columnĀ  number: | sed 's/.*/\U&/'"

Did you rebind ^T to "Go to line number"?  The above example bindings
assume that ^T has its default binding, to the "Execute" function.

Benno

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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