From 388bf8f664e9021bc87b6b4286f82506f775d6aa Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Sat, 7 Mar 2020 11:45:41 -0700 Subject: Config ranger, add zathura config, add py scripts --- .config/ranger/rc.conf | 80 ++++++++++---------------------------------------- 1 file changed, 16 insertions(+), 64 deletions(-) (limited to '.config/ranger/rc.conf') diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 6ae0336..209a884 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -1,29 +1,10 @@ -# =================================================================== -# This file contains the default startup commands for ranger. -# To change them, it is recommended to create either /etc/ranger/rc.conf -# (system-wide) or ~/.config/ranger/rc.conf (per user) and add your custom -# commands there. -# -# If you copy this whole file there, you may want to set the environment -# variable RANGER_LOAD_DEFAULT_RC to FALSE to avoid loading it twice. -# -# The purpose of this file is mainly to define keybindings and settings. -# For running more complex python code, please create a plugin in "plugins/" or -# a command in "commands.py". -# -# Each line is a command that will be run before the user interface -# is initialized. As a result, you can not use commands which rely -# on the UI such as :delete or :mark. -# =================================================================== - # =================================================================== # == Options # =================================================================== -# Which viewmode should be used? Possible values are: -# miller: Use miller columns which show multiple levels of the hierarchy -# multipane: Midnight-commander like multipane view showing all tabs next -# to each other +# miller: Use miller columns which show multiple levels of the hierarchy +# multipane: Midnight-commander like multipane view showing all tabs next +# to each other set viewmode miller #set viewmode multipane @@ -57,7 +38,7 @@ set automatically_count_files true set open_all_images true # Be aware of version control systems and display information. -set vcs_aware false +set vcs_aware true # State of the four backends git, hg, bzr, svn. The possible states are # disabled, local (only show local info), enabled (show local and remote @@ -71,41 +52,12 @@ set vcs_backend_svn disabled 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. -# -# * 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. +# w3m (default) +# iterm2 +# terminology +# urxvt +# urxvt-full +# kitty set preview_images_method w3m # Delay in seconds before displaying an image with the w3m method. @@ -150,13 +102,13 @@ set draw_progress_bar_in_status_bar true # Separators are vertical lines between columns. # Outline draws a box around all the columns. # Both combines the two. -set draw_borders none +set draw_borders both # Display the directory name in tabs? set dirname_in_tabs false # Enable the mouse support? -set mouse_enabled true +set mouse_enabled false # Display the file size in the main column or status bar? set display_size_in_main_column true @@ -182,11 +134,11 @@ set shorten_title 3 set hostname_in_titlebar true # Abbreviate $HOME with ~ in the titlebar (first line) of ranger? -set tilde_in_titlebar false +set tilde_in_titlebar true # How many directory-changes or console-commands should be kept in history? -set max_history_size 20 -set max_console_history_size 50 +set max_history_size 100 +set max_console_history_size 500 # Try to keep so much space between the top/bottom border when scrolling: set scroll_offset 8 @@ -266,7 +218,7 @@ set clear_filters_on_dir_change false # Disable displaying line numbers in main column. # Possible values: false, absolute, relative. -set line_numbers false +set line_numbers relative # When line_numbers=relative show the absolute line number in the # current line. -- cgit v1.2.3-54-g00ecf