Re: Case conversion keybindings not working
Benno Schulenberg <[email protected]> Fri, 20 Aug 2021 11:56:23 +0200
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
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[1;6D|sed 's/.*/\U&/' " main > bind Sh-M-L "Oc[1;6D|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
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed