diff options
author | ache <ache@ache.one> | 2023-12-11 03:27:25 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2023-12-11 03:27:25 +0100 |
commit | 6c92aed6a159a86416f9efda389c15ee10659136 (patch) | |
tree | f321dece5d2e20ebccbdb4fa0decb4c81ca31d83 | |
parent | Update current config (diff) |
Support for quick yank info
-rwxr-xr-x | rc.conf | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -335,9 +335,12 @@ 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 +# Copy filepath +map yp shell -f echo -n %d/%f | xsel -i; xsel -o | xsel -i -b +# Copy current directory +map yd shell -f echo -n %d | xsel -i; xsel -o | xsel -i -b +# Copy filename (basename) +map yn shell -f echo -n %f | xsel -i; xsel -o | xsel -i -b # Filesystem Operations map = chmod |