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:
Benno Schulenberg 2024-11-04 16:20:19 +01:00
parent 2fca581095
commit e9b0a57490

View File

@ -291,7 +291,7 @@
# unbind M-T main # unbind M-T main
## (Those functions are still accessible through ^T^J and ^T^V.) ## (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.) ## (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-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-L "{nextword}{mark}{prevword}{execute}| sed 's/.*/\L&/' {enter}" main