summaryrefslogtreecommitdiff
path: root/tw/home/files/ranger.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/files/ranger.conf')
-rw-r--r--tw/home/files/ranger.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/tw/home/files/ranger.conf b/tw/home/files/ranger.conf
new file mode 100644
index 00000000..dd5d4b0b
--- /dev/null
+++ b/tw/home/files/ranger.conf
@@ -0,0 +1,52 @@
+# Be aware of version control systems and display information.
+set vcs_aware true
+
+# Use one of the supported image preview protocols
+set preview_images true
+
+# 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.
+#
+# * terminology:
+# Previews images in full color in the terminology terminal emulator.
+# Supports a wide variety of formats, even vector graphics like svg.
+#
+# * urxvt:
+# Preview images in full color using urxvt image backgrounds. This
+# requires using urxvt compiled with pixbuf support.
+#
+# * urxvt-full:
+# The same as urxvt but utilizing not only the preview pane but the
+# whole terminal window.
+#
+# * kitty:
+# Preview images in full color using kitty image protocol.
+# Requires python PIL or pillow library.
+# If ranger does not share the local filesystem with kitty
+# the transfer method is changed to encode the whole image;
+# while slower, this allows remote previews,
+# for example during an ssh session.
+# Tmux is unsupported.
+#
+# * ueberzug:
+# Preview images in full color with the external command "ueberzug".
+# Images are shown by using a child window.
+# Only for users who run X11 in GNU/Linux.
+set preview_images_method kitty
+
+# Use a unicode "..." character to mark cut-off filenames?
+set unicode_ellipsis true
+
+# Abbreviate $HOME with ~ in the titlebar (first line) of ranger?
+set tilde_in_titlebar true
+
+# Changes case sensitivity for the cd command tab completion
+set cd_tab_case insensitive
+
+# Use fuzzy tab completion with the "cd" command. For example,
+# ":cd /u/lo/b<tab>" expands to ":cd /usr/local/bin".
+set cd_tab_fuzzy true