Update X.md

This commit is contained in:
mayfrost 2018-10-23 18:48:13 -03:00 committed by GitHub
parent 061de51db5
commit 982e6216de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
X.md
View File

@ -284,9 +284,9 @@ Then hit _"Ctrl-a + ]"_, then _"Enter"_, then _"Ctrl-d"_.
### CLIPBOARD BINDINGS ### CLIPBOARD BINDINGS
For ease of use we will use _"GNU Screen's"_ configuration file _".screenrc"_ to save shortcuts to clipboard exchange. For ease of use we will use _"GNU Screen's"_ configuration file _".screenrc"_ to save shortcuts to clipboard exchange.
* 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"'` `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 * 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 .'` `bind b eval 'exec sh -c "xsel -ob > /tmp/screen-exchange"' readbuf 'paste .'`
## SCREEN TEARING ## SCREEN TEARING