From: Silvio Rhatto Date: Sat, 23 Jun 2018 00:01:07 +0000 (-0300) Subject: Adds map to dereferenced copy X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b4ece80ac799bfac80749b066d22e3b858d485fc;p=rhatto%2Fdotfiles%2Franger.git Adds map to dereferenced copy --- diff --git a/config.dot/ranger/rc.conf.link b/config.dot/ranger/rc.conf.link index ab83a3f..d61fd2d 100644 --- a/config.dot/ranger/rc.conf.link +++ b/config.dot/ranger/rc.conf.link @@ -21,6 +21,10 @@ set preview_script ~/.config/ranger/scope.sh # Keybindings # https://github.com/ranger/ranger/wiki/Keybindings +# http://dquinton.github.io/debian-install/config/ranger.html map F console scout -ftsea%space map cw eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console("rename ") map go eval from ranger.ext.spawn import spawn; fm.select_file(spawn("grep ^music_directory /etc/mpd.conf | grep -oP '(?<=\").*(?=\")'").strip() + "/" + spawn("mpc -f %file% | head -1")) + +# Copy with dereferencing +map pl shell -f echo -n %c | xargs -n 1 -I {} cp -Lr {} %d