blob: 08736ab78ae76d37347d3294c7fe9506021fc2c4 (
plain) (
tree)
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ranger.defaults.options</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.defaults.html"><font color="#ffffff">defaults</font></a>.options</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/code/ranger/ranger/defaults/options.py">/home/hut/code/ranger/ranger/defaults/options.py</a></font></td></tr></table>
<p><tt>This is the default configuration file of ranger.<br>
<br>
There are two ways of customizing ranger. The first and recommended<br>
method is creating a file at ~/.ranger/options.py and adding<br>
those lines you want to change. It might look like this:<br>
<br>
from ranger.api.options import *<br>
preview_files = False # I hate previews!<br>
max_history_size = 2000 # I can afford it.<br>
<br>
The other way is directly editing this file. This will make upgrades<br>
of ranger more complicated though.<br>
<br>
Whatever you do, make sure the import-line stays intact and the type<br>
of the values stay the same.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.api.apps.html">ranger.api.apps</a><br>
<a href="ranger.gui.color.html">ranger.gui.color</a><br>
</td><td width="25%" valign=top><a href="ranger.api.commands.html">ranger.api.commands</a><br>
<a href="ranger.api.keys.html">ranger.api.keys</a><br>
</td><td width="25%" valign=top><a href="re.html">re</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>DELETE_WARNING</strong> = 'delete seriously? '<br>
<strong>autosave_bookmarks</strong> = True<br>
<strong>collapse_preview</strong> = True<br>
<strong>colorscheme</strong> = 'default'<br>
<strong>colorscheme_overlay</strong> = None<br>
<strong>column_ratios</strong> = (1, 1, 4, 3)<br>
<strong>dirname_in_tabs</strong> = False<br>
<strong>display_size_in_main_column</strong> = True<br>
<strong>display_size_in_status_bar</strong> = False<br>
<strong>draw_bookmark_borders</strong> = True<br>
<strong>draw_borders</strong> = False<br>
<strong>flushinput</strong> = True<br>
<strong>hidden_filter</strong> = <_sre.SRE_Pattern object><br>
<strong>max_console_history_size</strong> = 20<br>
<strong>max_history_size</strong> = 20<br>
<strong>mouse_enabled</strong> = True<br>
<strong>preview_directories</strong> = True<br>
<strong>preview_files</strong> = True<br>
<strong>save_console_history</strong> = True<br>
<strong>scroll_offset</strong> = 8<br>
<strong>shorten_title</strong> = 3<br>
<strong>show_cursor</strong> = False<br>
<strong>show_hidden</strong> = False<br>
<strong>show_hidden_bookmarks</strong> = True<br>
<strong>sort</strong> = 'basename'<br>
<strong>sort_case_insensitive</strong> = False<br>
<strong>sort_directories_first</strong> = True<br>
<strong>sort_reverse</strong> = False<br>
<strong>tilde_in_titlebar</strong> = True<br>
<strong>update_title</strong> = True<br>
<strong>xterm_alt_key</strong> = False</td></tr></table>
</body></html>
|