From c022c4cc6d2679db086671be080e3a7caada9336 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 12 Apr 2022 11:18:25 +0200 Subject: [PATCH] docs: add an example binding for copying text to the system clipboard --- doc/sample.nanorc.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 6a29a001..ec8ba4dc 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -291,6 +291,9 @@ # bind Sh-M-U "Oc|sed 's/.*/\U&/' " main # bind Sh-M-L "Oc|sed 's/.*/\L&/' " main +## For copying a marked region to the system clipboard: +# bind Sh-M-T "|xsel -ib u" 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: