commit c022c4cc6d2679db086671be080e3a7caada9336
parent 6257dec0a733c390dbd1c9ce9b739a0fe6d3bd4e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 12 Apr 2022 11:18:25 +0200
docs: add an example binding for copying text to the system clipboard
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in
@@ -291,6 +291,9 @@
# bind Sh-M-U "Oc[1;6D|sed 's/.*/\U&/'" main
# bind Sh-M-L "Oc[1;6D|sed 's/.*/\L&/'" main
+## For copying a marked region to the system clipboard:
+# bind Sh-M-T "|xsel -ibu" 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,
## then uncomment these: