summary refs log tree commit diff stats
path: root/ranger/config/rc.conf
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-03-18 22:11:01 +0100
committerhut <hut@lepus.uberspace.de>2015-03-18 22:11:01 +0100
commit7993ed4b19d57cfda0a22426cb0c3bcf88232bc3 (patch)
treee89c6830699621306e70ddbfb988efde43c842f8 /ranger/config/rc.conf
parent9a879332d96e36fc348053cc0d23f03de73a2ed2 (diff)
parent7e85001052e4398f71e50e731899800106d2eefd (diff)
downloadranger-7993ed4b19d57cfda0a22426cb0c3bcf88232bc3.tar.gz
Merge branch 'add-iterm2-image-preview-support' of git://github.com/kattrali/ranger
Diffstat (limited to 'ranger/config/rc.conf')
-rw-r--r--ranger/config/rc.conf17
1 files changed, 14 insertions, 3 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 21c685d5..ca67c389 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -58,11 +58,22 @@ set vcs_backend_git enabled
 set vcs_backend_hg disabled
 set vcs_backend_bzr disabled
 
-# Preview images in full color with the external command "w3mimgpreview"?
-# This requires the console web browser "w3m" and a supported terminal.
-# It has been successfully tested with "xterm" and "urxvt" without tmux.
+# Use one of the supported image preview protocols
 set preview_images false
 
+# Set the preview image method. Supported methods:
+#
+# * w3m (default):
+#   Preview images in full color with the external command "w3mimgpreview"?
+#   This requires the console web browser "w3m" and a supported terminal.
+#   It has been successfully tested with "xterm" and "urxvt" without tmux.
+#
+# * iterm2:
+#   Preview images in full color using iTerm2 image previews
+#   (http://iterm2.com/images.html). This requires using iTerm2 compiled
+#   with image preview support.
+set preview_images_method w3m
+
 # Use a unicode "..." character to mark cut-off filenames?
 set unicode_ellipsis false