summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorВеремеенко Артём <a.veremeenko@svadom.ru>2014-09-02 10:32:58 +0400
committerВеремеенко Артём <a.veremeenko@svadom.ru>2014-09-02 10:32:58 +0400
commit41ab10c142d6463610bf5be6329db58430d4070a (patch)
tree1fa8437bbe72f2a05d4c7a061f1e22eae5f329d2
parent207cafb045e8288b0f91df1528b9edb2a2c31971 (diff)
downloadranger-41ab10c142d6463610bf5be6329db58430d4070a.tar.gz
Commands "yp", "yd", "yn" now copy to X11 clipboard selection too.
-rw-r--r--ranger/config/rc.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index b2cc9307..9e886e19 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -299,9 +299,9 @@ map g? cd /usr/share/doc/ranger
 map E  edit
 map du shell -p du --max-depth=1 -h --apparent-size
 map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh
-map yp shell -f echo -n %d/%f | xsel -i
-map yd shell -f echo -n %d    | xsel -i
-map yn shell -f echo -n %f    | xsel -i
+map yp shell -f echo -n %d/%f | xsel -i; xsel -o | xsel -i -b
+map yd shell -f echo -n %d    | xsel -i; xsel -o | xsel -i -b
+map yn shell -f echo -n %f    | xsel -i; xsel -o | xsel -i -b
 
 # Filesystem Operations
 map =  chmod