diff options
author | hut <hut@lavabit.com> | 2011-10-07 02:40:19 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-08 06:09:02 +0200 |
commit | 7bf5f9672ee79489553506831b7cab54a8609077 (patch) | |
tree | 42c9dcd2621b428027b2d4281f5c12d3dc2b0298 /ranger/__init__.py | |
parent | afcc81964f8fa2a6e4800c725822feb0f7edebd3 (diff) | |
download | ranger-7bf5f9672ee79489553506831b7cab54a8609077.tar.gz |
general updates
Diffstat (limited to 'ranger/__init__.py')
-rw-r--r-- | ranger/__init__.py | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index 32a31eae..f6d6529b 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -14,18 +14,14 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. """ -Console-based visual file manager. +A console file manager with VI key bindings. -Ranger is a file manager with an ncurses frontend written in Python. -It is designed to give you a broader overview of the file system by -displaying previews and backviews, dividing the screen into columns. - -The keybindings are similar to those of other console programs like -vim, mutt or ncmpcpp so the usage will be intuitive and efficient. +It provides a minimalistic yet nice curses interface with a view on the +directory hierarchy. The secondary task of ranger is to psychically guess +which program you want to use for opening particular files. """ import os -from ranger.core.main import main # Information __license__ = 'GPL3' @@ -35,3 +31,14 @@ __email__ = 'romanz@lavabit.com' # Constants RANGERDIR = os.path.dirname(__file__) +TICKS_BEFORE_COLLECTING_GARBAGE = 100 +TIME_BEFORE_FILE_BECOMES_GARBAGE = 1200 +MACRO_DELIMITER = '%' +LOGFILE = '/tmp/errorlog' +USAGE = '%prog [options] [path/filename]' + +# If the environment variable XDG_CONFIG_HOME is non-empty, CONFDIR is ignored +# and the configuration directory will be $XDG_CONFIG_HOME/ranger instead. +CONFDIR = '~/.config/ranger' + +from ranger.core.main import main |