summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorToon Nolten <toon.nolten@student.kuleuven.be>2017-05-28 13:07:45 +0200
committerToon Nolten <toon.nolten@student.kuleuven.be>2017-05-28 13:07:45 +0200
commitbe19d0d41d6a1e3bc8c69d67cdeee8485b04251e (patch)
treefb29514d822218c05b1c08094b1fb434e5366745 /ranger
parentcb6be2e0bc94ee802a2d1a9fc9f345857996970f (diff)
downloadranger-be19d0d41d6a1e3bc8c69d67cdeee8485b04251e.tar.gz
Change the yank mappings to use the new yank command
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/rc.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 9af5a953..09fef327 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -375,10 +375,10 @@ 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 && 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
-map ys shell -f printf '%%s\n' %s | xsel -i && xsel -o | xsel -i -b
+map yp yank path
+map yd yank dir
+map yn yank name
+map ys yank name
 
 # Filesystem Operations
 map =  chmod