You need to install ranger through your package manager or via the source
You can install the following software:
ranger --copy-config=all
Output
creating: /home/warnaud/.config/ranger/rifle.conf creating: /home/warnaud/.config/ranger/commands.py creating: /home/warnaud/.config/ranger/commands_full.py creating: /home/warnaud/.config/ranger/rc.conf creating: /home/warnaud/.config/ranger/scope.sh > Please note that configuration files may change as ranger evolves. It's completely up to you to keep them up to date. > To stop ranger from loading both the default and your custom rc.conf, please set the environment variable RANGER_LOAD_DEFAULT_RC to FALSE.
We just copied the default configuration files to our home
You can display images in the terminal! just add/modify in ~/.config/ranger/rc.conf:
# Use one of the supported image preview protocols set preview_images true
By default it is set with w3m:
set preview_images_method w3m
If the images doesn't show up correctly (as for me) please set:
# Draw borders around columns? set draw_borders true
# Be aware of version control systems and display information. set vcs_aware true
Works with git/mercurial/bzr
→ http://lists.nongnu.org/archive/html/ranger-users/2013-03/msg00007.html for a complete explanation
Key combination for Ranger: