From 66683d4ed41dd9a9faab3286a469e06759434dee Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 8 Oct 2011 18:17:40 +0200 Subject: updated manpage and config_examples/rc.conf --- doc/ranger.1 | 5 ++++- doc/ranger.pod | 3 +++ ranger/data/config_examples/rc.conf | 16 +++++++++++++++- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/doc/ranger.1 b/doc/ranger.1 index 19a0bb42..9b323d31 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.5.0" "10/07/2011" "ranger manual" +.TH RANGER 1 "ranger-1.5.0" "10/08/2011" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -148,6 +148,9 @@ This manual mainly contains information on the usage of ranger. Refer to the \&\fI\s-1README\s0\fR for install instructions and to \fIdoc/HACKING\fR for development specific information. For configuration, check the sample files that ranger created in your \fI~/.config/ranger\fR directory. +.PP +Inside ranger, you can press \fI1?\fR for a list of key bindings, \fI2?\fR for a list +of commands and \fI3?\fR for a list of settings. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-d\fR, \fB\-\-debug\fR" 14 diff --git a/doc/ranger.pod b/doc/ranger.pod index ab876d7f..c3c8fe7d 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -27,6 +27,9 @@ F for install instructions and to F for development specific information. For configuration, check the sample files that ranger created in your F<~/.config/ranger> directory. +Inside ranger, you can press I<1?> for a list of key bindings, I<2?> for a list +of commands and I<3?> for a list of settings. + 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 +#copymap -- cgit 1.4.1-2-gfad0