From 306c76d8fbe649a0bf6c34a1fc446af6d2ec201b Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 14 Jan 2010 02:53:59 +0100 Subject: readme: added part "customizing ranger" --- README | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README b/README index 96163a01..f82c8d5b 100644 --- a/README +++ b/README @@ -68,6 +68,22 @@ open files from the shell: ranger blabla.pdf +== Customizing Ranger + +The file ranger/defaults/options.py contains most of the options. +apps.py defines how files are run, keys.py defines keybindings. + +The files in ranger/defaults/ can be copied into ~/.ranger/ for per-user +modifications. Colorschemes can be placed in ~/.ranger/colorschemes. + +The options.py defines the import path of "apps", "keys" and the +colorscheme. To use the files you placed in ~/.ranger/, you may need +to make this changes in the options.py: + +"from ranger.defaults import apps, keys" => "from . import apps, keys" +"from ranger import colorschemes" => "from . import colorschemes" + + == Guidelines for developers: Tabs for indentation, spaces for tables and such -- cgit 1.4.1-2-gfad0