diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 37609372..bcd24195 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -96,13 +96,13 @@ alias setl setlocal # =================================================================== # Basic -map ! console shell -w +map ! console shell -w%space # For the nostalgics: Midnight Commander bindings map bulkrename map shell -w file %s -map console touch -map console mkcd +map console touch%space +map console mkcd%space # =================================================================== @@ -118,9 +118,12 @@ map A rename_append unmap q map Q quit +map zi set preview_images=True +map zI set preview_images=False +map zF toggle_flat + ## Move to trash (without Trash-CLI) # map DD shell mv -t ~/.local/share/Trash/files %s - ## Move to trash (with Trash-CLI) map DD shell trash-put -- %s @@ -130,19 +133,10 @@ map eXg shell -w aunpack -e %s -X "$HOME/games/" map eXh extracthere ## Git -map ega shell -w git add %f %s -map egc shell git commit -map egC shell git commit -a map egD shell git diff map egd shell git diff --cached %s -map egl shell git log --stat %s -map egp shell -w git pull -map egP shell -w git push -map egr shell -w git checkout -- %f %s -map egs shell -w git status -uno %s - -## Pictures -map ep shell -w mogrify -resize 50% %s +map egl shell git log --stat -- %s +map egs shell -w git status -uno -- %s ## Video ## Note that latin1 for mplayer/mpv is actually cp1252. @@ -163,7 +157,7 @@ map eu shell imagemount -u %s map K move up=5 map J move down=5 -## New tab in current folder. Use 'gn' for home folder. +## New tab in current folder. Use 'gn' for tab in home folder. map eval fm.tab_new('%d') ## Start shell in current folder. The shell must be configured to read the @@ -171,10 +165,4 @@ map eval fm.tab_new('%d') ## want to lose them just to run a shell. map S shell SHELL_CD=%d bash -## Image preview toggle -map zi set preview_images=True -map zI set preview_images=False - -## toggle_flat -map zF toggle_flat map fzf_select