diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/HACKING | 6 | ||||
-rw-r--r-- | doc/ranger.1 | 6 | ||||
-rw-r--r-- | doc/ranger.pod | 6 |
3 files changed, 9 insertions, 9 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.1 b/doc/ranger.1 index e5a79160..cfdbd455 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -146,8 +146,8 @@ open your files with. .PP This manual mainly contains information on the usage of ranger. Refer to the \&\fI\s-1README\s0\fR for install instructions and to \fIdoc/HACKING\fR for development -specific information. For configuration, see the files in \fIranger/defaults\fR. -They are usually installed to \fI/usr/lib/python*/site\-packages/ranger/defaults\fR +specific information. For configuration, see the files in \fIranger/config\fR. +They are usually installed to \fI/usr/lib/python*/site\-packages/ranger/config\fR and can be obtained with ranger's \-\-copy\-config option. .PP Inside ranger, you can press \fI1?\fR for a list of key bindings, \fI2?\fR for a list @@ -321,7 +321,7 @@ to extract an archive. See the \fIapps.py\fR configuration file for all program and modes. .SH "KEY BINDINGS" .IX Header "KEY BINDINGS" -Key bindings are defined in the file \fIranger/defaults/rc.conf\fR. Check this +Key bindings are defined in the file \fIranger/config/rc.conf\fR. 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. .PP 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. |