diff options
author | nfnty <git@nfnty.se> | 2017-01-24 09:32:25 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-01-24 09:34:26 +0100 |
commit | 3668fc4a5732bb72944afe7856b0b70f62976996 (patch) | |
tree | 86198950e8440aa103e67ab2107120ef16f153b8 /ranger | |
parent | b1830a094d55c49ab8a01a45218b883fffbed0fe (diff) | |
download | ranger-3668fc4a5732bb72944afe7856b0b70f62976996.tar.gz |
config/rc.conf: Add map for copying selection to clipboard
Fixes #718
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/config/rc.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index f25d3a0c..0bd8703c 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -354,9 +354,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 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 # Filesystem Operations map = chmod |