mayfrost-guides

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ef37d2937f66910ca6a56b9b86a69661e3d2b89b
parent 3c8172c673dc16e907eafc156236ff40acacdec6
Author: mayfrost <mayfrost@cock.li>
Date:   Tue, 23 Oct 2018 21:29:33 -0300

Update X.md
Diffstat:
MX.md | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/X.md b/X.md @@ -285,11 +285,11 @@ Then hit _"Ctrl-a + ]"_, then _"Enter"_, then _"Ctrl-d"_. ### CLIPBOARD BINDINGS For ease of use we will use _"GNU Screen's"_ configuration file _".screenrc"_ to save shortcuts for clipboard exchange instead of the above commands. Save these in your _".screenrc"_ file: ``` -# Copy from "GNU Screen" to "X" clipboard, automatically when using "GNU Screen's" copy selection +# Copy from "GNU Screen" to "X" clipboard automatically when using "GNU Screen's" copy selection bindkey -m ' ' eval 'stuff \040' 'writebuf' 'exec sh -c "xsel -ib < /tmp/screen-exchange"' -# Copy from "X" to "GNU Screen" clipboard, by pressing "Ctrl-a + b" on "GNU Screen's" normal mode -bind b eval 'exec sh -c "xsel -ob > /tmp/screen-exchange"' readbuf 'paste .' +# Copy from "X" to "GNU Screen" clipboard by pressing "Ctr-a + b" + "Ctrl-a + ]" on "GNU Screen's" normal mode +bind b eval 'exec sh -c "xsel -ob > /tmp/screen-exchange && screen -X readbuf"' ``` ## SCREEN TEARING