diff options
author | hut <hut@lavabit.com> | 2010-05-10 14:50:39 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-05-10 21:03:41 +0200 |
commit | 3ee05c163e370d28dfabc9c43b0a3b7c0a212443 (patch) | |
tree | bf6d1d39abad37a2e2e39712c63d3bea262db33e /HACKING | |
parent | a0e543f8b2adb7afb2822122d786f25b41f08ba2 (diff) | |
download | ranger-3ee05c163e370d28dfabc9c43b0a3b7c0a212443.tar.gz |
HACKING: update
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/HACKING b/HACKING index 85f44ed6..b184150c 100644 --- a/HACKING +++ b/HACKING @@ -39,20 +39,16 @@ add the name of your option to the constant ALLOWED_SETTINGS The setting is now accessible at self.settings.my_option, assuming <self> is a "SettingsAware" object. -* Change commands: +* Changing commands, adding aliases: ranger/defaults/commands.py -* Create aliases for commands: -In ranger/defaults/commands.py -at the bottom, write something like: alias(exit=quit) - * Adding colorschemes: 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 ~/.ranger/options.py), change - colorscheme = colorschemes.default -to: colorscheme = colorschemes.myscheme + colorscheme = 'default' +to: colorscheme = 'myscheme' * Change which files are considered to be "hidden": In ranger/defaults/options.py @@ -71,7 +67,6 @@ extension, etc. For a full list, check ranger/fsobject/fsobject.py * Change the file extension => mime type associations: Modify ranger/data/mime.types -and run ranger/data/generate.py to compile it. Version Numbering |