summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/rc.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 38e6f11e..5eaeae89 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -384,7 +384,8 @@ map gl cd -r .
 map gL cd -r %f
 map go cd /opt
 map gv cd /var
-map gm cd /media
+map gm eval fm.cd('/media/' + os.getenv('USER'))
+map gi eval fm.cd('/run/media/' + os.getenv('USER'))
 map gM cd /mnt
 map gs cd /srv
 map gt cd /tmp