ranger.defaults.options | index /home/hut/ranger/ranger/defaults/options.py |
This is the default configuration file of ranger.
There are two ways of customizing ranger. The first and recommended
method is creating a file at ~/.ranger/options.py and adding
those lines you want to change. It might look like this:
from ranger.api.options import *
preview_files = False # I hate previews!
max_history_size = 2000 # I can afford it.
The other way is directly editing this file. This will make upgrades
of ranger more complicated though.
Whatever you do, make sure the import-line stays intact and the type
of the values stay the same.
Modules | ||||||
|
Data | ||
DELETE_WARNING = 'delete seriously? ' autosave_bookmarks = True collapse_preview = True colorscheme = 'default' colorscheme_overlay = None column_ratios = (1, 1, 4, 3) dirname_in_tabs = False display_size_in_main_column = True display_size_in_status_bar = False draw_bookmark_borders = True draw_borders = False flushinput = True hidden_filter = <_sre.SRE_Pattern object> max_console_history_size = 20 max_history_size = 20 mouse_enabled = True preview_directories = True preview_files = True save_console_history = True scroll_offset = 2 shorten_title = 3 show_cursor = False show_hidden = False show_hidden_bookmarks = True sort = 'basename' sort_case_insensitive = False sort_directories_first = True sort_reverse = False tilde_in_titlebar = True update_title = True xterm_alt_key = False |