mirror of git://git.sv.gnu.org/nano.git
docs: replace control codes in the examples with {command} cartouches
This avoids https://savannah.gnu.org/bugs/?61720.
Problem existed since version 5.8, commit 74c6bdac
.
This commit is contained in:
parent
3785f762fc
commit
2a515058be
|
@ -284,14 +284,13 @@
|
|||
# unbind M-T main
|
||||
## (Those functions are still accessible through ^T^J and ^T^V.)
|
||||
|
||||
## For quickly uppercasing or lowercasing the word under the cursor.
|
||||
## (These effectively do a Ctrl+Right followed by a Shift+Ctrl+Left,
|
||||
## and then pipe the selected text through a sed command.)
|
||||
# bind Sh-M-U "Oc[1;6D|sed 's/.*/\U&/'
" main
|
||||
# bind Sh-M-L "Oc[1;6D|sed 's/.*/\L&/'
" main
|
||||
## For quickly uppercasing or lowercasing the word under or after the cursor.
|
||||
## (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
|
||||
|
||||
## For copying a marked region to the system clipboard:
|
||||
# bind Sh-M-T "|xsel -ib
u" main
|
||||
# bind Sh-M-T "{execute}|xsel -ib{enter}{undo}" main
|
||||
|
||||
## If you would like nano to have keybindings that are more "usual",
|
||||
## such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit,
|
||||
|
|
Loading…
Reference in New Issue