From 6f86d8c0f5ed2dce11ca2130d74c2468d910eb7e Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 25 Feb 2024 21:18:22 -0600 Subject: [PATCH] Ranger improved goto keybinds --- user/app/ranger/rc.conf | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/user/app/ranger/rc.conf b/user/app/ranger/rc.conf index 83302df..cfbcbac 100644 --- a/user/app/ranger/rc.conf +++ b/user/app/ranger/rc.conf @@ -448,23 +448,25 @@ map { traverse_backwards map ) jump_non map gh cd ~ +map ga cd ~/Archive +map gd cd ~/Downloads +map gm cd ~/Media +map go cd ~/Org +map gp cd ~/Projects +map gD cd ~/.dotfiles map ge cd /etc -map gu cd /usr -map gd cd /dev -map gl cd -r . -map gL cd -r %f -map go cd /opt map gv cd /var -map gm cd /media -map gi eval fm.cd('/run/media/' + os.getenv('USER')) +map gi chain reset; cd ~/External map gM cd /mnt map gs cd /srv -map gp cd /tmp -map gr cd / -map gR eval fm.cd(ranger.RANGERDIR) +map gP cd /tmp map g/ cd / map g? cd /usr/share/doc/ranger +map glr chain set sort=mtime; set sort_reverse=False; cd ~/Org/Producer.p/LibrePhoenix.p/Notes/recordings +map glp chain set sort=mtime; set sort_reverse=False; cd ~/Org/Producer.p/LibrePhoenix.p/Notes/projects +map glf cd ~/Org/Producer.p/LibrePhoenix.p/Notes/files + # External Programs map E edit map du shell -p du --max-depth=1 -h --apparent-size @@ -503,8 +505,8 @@ map ud uncut map da cut mode=add map dr cut mode=remove map dt cut mode=toggle -map do shell -w ripdrag -x %s -map dO shell -w ripdrag -x * +map do shell -w ripdrag -n -b -a %s +map dO shell -w ripdrag -n -b %s map yy chain copy; shell cbx copy %s map uy uncut