From 3ee05c163e370d28dfabc9c43b0a3b7c0a212443 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 10 May 2010 14:50:39 +0200 Subject: HACKING: update --- HACKING | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'HACKING') 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 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 -- cgit 1.4.1-2-gfad0