diff options
author | hut <hut@lavabit.com> | 2010-03-12 02:00:53 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-12 02:00:53 +0100 |
commit | 62cd83bace8e77cd1ff7028da6cf65d0d1defa27 (patch) | |
tree | d96694a43bb8389c2a93c6f357151f71008475fd /doc/pydoc/ranger.defaults.options.html | |
parent | cc813408772738fc124130095ba4a5c33c84dea3 (diff) | |
download | ranger-62cd83bace8e77cd1ff7028da6cf65d0d1defa27.tar.gz |
updated pydoc
Diffstat (limited to 'doc/pydoc/ranger.defaults.options.html')
-rw-r--r-- | doc/pydoc/ranger.defaults.options.html | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/doc/pydoc/ranger.defaults.options.html b/doc/pydoc/ranger.defaults.options.html index ce9c7ec7..28293e69 100644 --- a/doc/pydoc/ranger.defaults.options.html +++ b/doc/pydoc/ranger.defaults.options.html @@ -10,8 +10,20 @@ ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/defaults/options.py">/home/hut/ranger/ranger/defaults/options.py</a></font></td></tr></table> <p><tt>This is the default configuration file of ranger.<br> -If you do any changes, make sure the import-line stays<br> -intact and the type of the value stays the same.</tt></p> + <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"> @@ -19,7 +31,7 @@ intact and the type of the value stays t <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="colorschemes.default.html">colorschemes.default</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.colorschemes.default.html">ranger.colorschemes.default</a><br> </td><td width="25%" valign=top><a href="ranger.colorschemes.html">ranger.colorschemes</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> @@ -33,7 +45,8 @@ intact and the type of the value stays t <strong>collapse_preview</strong> = True<br> <strong>directories_first</strong> = True<br> <strong>flushinput</strong> = True<br> -<strong>hidden_filter</strong> = <_sre.SRE_Pattern object at 0xf84030><br> +<strong>hidden_filter</strong> = <_sre.SRE_Pattern object at 0x12d2220><br> +<strong>max_filesize_for_preview</strong> = 307200<br> <strong>max_history_size</strong> = 20<br> <strong>preview_files</strong> = True<br> <strong>reverse</strong> = False<br> @@ -41,5 +54,5 @@ intact and the type of the value stays t <strong>show_cursor</strong> = False<br> <strong>show_hidden</strong> = False<br> <strong>sort</strong> = 'basename'<br> -<strong>update_title</strong> = True</td></tr></table> +<strong>update_title</strong> = False</td></tr></table> </body></html> \ No newline at end of file |