diff options
author | hut <hut@lavabit.com> | 2011-10-08 18:17:40 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-08 18:17:40 +0200 |
commit | 66683d4ed41dd9a9faab3286a469e06759434dee (patch) | |
tree | 342876b506f7eecd77254dff46580d48941d039b /ranger | |
parent | 320daab95cf28ca813f27e0a01657f64f2a1f727 (diff) | |
download | ranger-66683d4ed41dd9a9faab3286a469e06759434dee.tar.gz |
updated manpage and config_examples/rc.conf
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/data/config_examples/rc.conf | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/ranger/data/config_examples/rc.conf b/ranger/data/config_examples/rc.conf index 47ffe5a8..3d16c964 100644 --- a/ranger/data/config_examples/rc.conf +++ b/ranger/data/config_examples/rc.conf @@ -7,13 +7,15 @@ # # Each line is a command that will be run before the user interface # is initialized. As a result, you can not use commands which rely on -# the UI such as :delete or :mark. Lines starting with # are comments. +# the UI such as "delete" or "mark". Lines starting with # are comments. +# Refer to the man page or press 2? in ranger for a list of commands. # =================================================================== # common directories (this overrides some default keybindings) #map gt cd /tmp #map gc cd ~/.config #map gp cd /usr/portage +#map gb cd /boot # Unbind "q" so you don't accidentally close ranger #unmap q @@ -32,8 +34,20 @@ #map ,a shell vim ~/.config/ranger/apps.py #map ,c shell vim ~/.config/ranger/commands.py #map ,o shell vim ~/.config/ranger/options.py + +# And some keys to view defaults #map ,R shell vim %rangerdir/defaults/rc.conf #map ,A shell vim %rangerdir/defaults/apps.py #map ,C shell vim %rangerdir/defaults/commands.py #map ,O shell vim %rangerdir/defaults/options.py #map ,n shell vim %rangerdir/core/actions.py + +# You might want to scroll up/down with u/d like in a pager +#copymap d D +#copymap u U +#map d down=0.8 pages=True +#map u up=0.8 pages=True + +# Or scroll up/down with ^P/^N: +#copymap <down> <C-N> +#copymap <up> <C-P> |