diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/HACKING | 6 | ||||
-rw-r--r-- | doc/ranger.pod | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/HACKING b/doc/HACKING index f6d5d064..89452398 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -46,7 +46,7 @@ In ranger/fsobject/file.py the constant PREVIEW_BLACKLIST * Adding options: -In ranger/defaults/options.py +In ranger/config/options.py add the default value, like: my_option = True In ranger/container/settingobject.py add the name of your option to the constant ALLOWED_SETTINGS @@ -58,12 +58,12 @@ assuming <self> is a "SettingsAware" object. Copy ranger/colorschemes/default.py to ranger/colorschemes/myscheme.py and modify it according to your needs. Alternatively, mimic the jungle colorscheme. It subclasses the default scheme and just modifies a few things. -In ranger/defaults/options.py (or ~/.config/ranger/options.py), change +In ranger/config/options.py (or ~/.config/ranger/options.py), change colorscheme = 'default' to: colorscheme = 'myscheme' * Change the file type => application associations: -In ranger/defaults/apps.py +In ranger/config/apps.py modify the method app_default. The variable "f" is a filesystem-object with attributes like mimetype, extension, etc. For a full list, check ranger/fsobject/fsobject.py diff --git a/doc/ranger.pod b/doc/ranger.pod index 9f8b4f04..2a3a345b 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -24,8 +24,8 @@ open your files with. This manual mainly contains information on the usage of ranger. Refer to the F<README> for install instructions and to F<doc/HACKING> for development -specific information. For configuration, see the files in F<ranger/defaults>. -They are usually installed to F</usr/lib/python*/site-packages/ranger/defaults> +specific information. For configuration, see the files in F<ranger/config>. +They are usually installed to F</usr/lib/python*/site-packages/ranger/config> and can be obtained with ranger's --copy-config option. Inside ranger, you can press I<1?> for a list of key bindings, I<2?> for a list @@ -229,7 +229,7 @@ and modes. =head1 KEY BINDINGS -Key bindings are defined in the file F<ranger/defaults/rc.conf>. Check this +Key bindings are defined in the file F<ranger/config/rc.conf>. Check this file for a list of all key bindings. You can copy it to your local configuration directory with the --copy-config=rc option. |