Style changes and rephrasing

This commit is contained in:
lostd 2014-11-14 16:41:46 +02:00
parent b456bc23f2
commit c719a856f3

39
noice.1
View file

@ -28,28 +28,27 @@ supports both vi-like and emacs-like key bindings in the default
configuration. The default key bindings are described below; configuration. The default key bindings are described below;
their functionality is described in more detail later. their functionality is described in more detail later.
.Pp .Pp
.Bl -tag -width "l | Right | Return | C-mXXXX" -offset indent -compact .Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
.It Ic k | Up | C-p .It Ic k, [Up] or C-p
Move to previous entry. Move to previous entry.
.It Ic j | Down | C-n .It Ic j, [Down] or C-n
Move to next entry. Move to next entry.
.It Ic Pgup | C-u .It Ic [Pgup] or C-u
Scroll backwards one page. Scroll up half a page.
.It Ic Pgdown | C-d .It Ic [Pgdown] or C-d
Scroll forwards one page. Scroll down half a page.
.It Ic l | Right | Return | C-m .It Ic l, [Right], [Return] or C-m
Open file or enter directory. Open file or enter directory.
.It Ic h | Left | Backspace .It Ic h, [Left] or [Backspace]
Back up one directory level. Back up one directory level.
.It Ic / | & .It Ic / or &
Filter view (see below for more information). Change filter (see below for more information).
.It Ic !
Spawn shell in current directory.
.It Ic c .It Ic c
Change into the given directory. Change into the given directory.
.It Ic !
Spawn shell in current directory.
.It Ic q .It Ic q
Quit Quit.
.Nm .
.El .El
.Sh CONFIGURATION .Sh CONFIGURATION
.Nm .Nm
@ -60,8 +59,11 @@ and recompiling the code.
The file associations are specified by regexes The file associations are specified by regexes
matching on the currently selected filename. If a match is found the associated matching on the currently selected filename. If a match is found the associated
program is executed with the filename passed in as the argument. If no match program is executed with the filename passed in as the argument. If no match
is found the program less(1) is invoked. This is useful for editing text files is found the program
as one can use the 'v' command in less(1) to edit the file in $EDITOR. .Xr less 1
is invoked. This is useful for editing text files
as one can use the 'v' command in
.Xr less 1 to edit the file in $EDITOR.
.Pp .Pp
See the examples section below for more information. See the examples section below for more information.
.Sh FILTERS .Sh FILTERS
@ -84,8 +86,7 @@ remembers the old path. Backing up one directory level will set the
cursor position at the directory you came out of. cursor position at the directory you came out of.
.Sh EXAMPLES .Sh EXAMPLES
The following example shows one possible configuration for The following example shows one possible configuration for
file associations. This is the default configuration for file associations which is also the default:
.Nm .
.Bd -literal .Bd -literal
struct assoc assocs[] = { struct assoc assocs[] = {
{ "\\.(avi|mp4|mkv|mp3|ogg|flac)$", "mplayer" }, { "\\.(avi|mp4|mkv|mp3|ogg|flac)$", "mplayer" },