mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-21 12:21:40 +03:00
docs: put a space after "|" and before "{enter}" in the sample nanorc
This makes the example bindings slightly more legible. Also improve a comment.
This commit is contained in:
parent
2fca581095
commit
e9b0a57490
@ -291,13 +291,13 @@
|
||||
# unbind M-T main
|
||||
## (Those functions are still accessible through ^T^J and ^T^V.)
|
||||
|
||||
## For quickly uppercasing or lowercasing the word under or after the cursor.
|
||||
## For quickly uppercasing or lowercasing the word that the cursor is on.
|
||||
## (These effectively select a word and pipe it through a sed command.)
|
||||
# bind Sh-M-U "{nextword}{mark}{prevword}{execute}|sed 's/.*/\U&/'{enter}" main
|
||||
# bind Sh-M-L "{nextword}{mark}{prevword}{execute}|sed 's/.*/\L&/'{enter}" main
|
||||
# bind Sh-M-U "{nextword}{mark}{prevword}{execute}| sed 's/.*/\U&/' {enter}" main
|
||||
# bind Sh-M-L "{nextword}{mark}{prevword}{execute}| sed 's/.*/\L&/' {enter}" main
|
||||
|
||||
## For copying a marked region to the system clipboard:
|
||||
# bind Sh-M-C "{execute}|xsel -ib{enter}{undo}" main
|
||||
# bind Sh-M-C "{execute}| xsel -ib {enter}{undo}" main
|
||||
|
||||
## For normalizing Unicode to precomposed characters:
|
||||
# bind Sh-M-N "{execute}| uconv -x nfc {enter}" main
|
||||
|
Loading…
Reference in New Issue
Block a user