diff options
| author | Mosder <xmosder12@gmail.com> | 2025-11-06 03:35:21 +0100 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2025-11-06 03:35:21 +0100 |
| commit | 6abd35ff0705406aabc827ce423d28ade6040c1b (patch) | |
| tree | 555b98ca9c70b4827529fc0a8b372d97fd0d7060 /laptop/.config/ranger | |
| parent | c6ff7b4d2c91fbc086e573e01f76da3dc3ef3ed3 (diff) | |
laptop - wezterm
Diffstat (limited to 'laptop/.config/ranger')
| -rw-r--r-- | laptop/.config/ranger/rc.conf | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/laptop/.config/ranger/rc.conf b/laptop/.config/ranger/rc.conf index 9d97920..826d170 100644 --- a/laptop/.config/ranger/rc.conf +++ b/laptop/.config/ranger/rc.conf @@ -23,6 +23,57 @@ # Show hidden files? You can toggle this by typing 'zh' set show_hidden 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. +# +# * iterm2: +# Preview images in full color using iTerm2 image previews +# (http://iterm2.com/images.html). This requires using iTerm2 compiled +# with image preview support. +# +# This feature relies on the dimensions of the terminal's font. By default, a +# width of 8 and height of 11 are used. To use other values, set the options +# iterm2_font_width and iterm2_font_height to the desired values. +# +# * terminology: +# Previews images in full color in the terminology terminal emulator. +# Supports a wide variety of formats, even vector graphics like svg. +# +# * sixel: +# Previews images using the SIXEL protocol. This requires "imagemagick". +# +# * 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. +# Any terminal supporting the Kitty graphics protocol should work automatically. +# Note that the Kitty graphics protocol does not work from inside a tmux +# session, so 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 iterm2 + # Ask for a confirmation when running the "delete" command? # Valid values are "always", "never", "multiple" (default) # With "multiple", ranger will ask only if you delete multiple files at once. @@ -33,4 +84,3 @@ set confirm_on_delete never # Outline draws a box around all the columns. # Both combines the two. set draw_borders separators - |
