28 Nov 2011 21:39
[PATCH 1/2] nanorc(5): fix bind/unbind documentation
Mike Frysinger <vapier <at> gentoo.org>
2011-11-28 20:39:13 GMT
2011-11-28 20:39:13 GMT
The unbind section is listed after valid key/menu/functions, but tries to say those sections come after it. So reorganization the section so that bind/unbind comes first, and then we cover the key/menu/functions after both of them. Signed-off-by: Mike Frysinger <vapier <at> gentoo.org> --- doc/man/nanorc.5 | 32 +++++++++++++++++++------------- 1 files changed, 19 insertions(+), 13 deletions(-) diff --git a/doc/man/nanorc.5 b/doc/man/nanorc.5 index da33179..2da71ab 100644 --- a/doc/man/nanorc.5 +++ b/doc/man/nanorc.5 <at> <at> -282,9 +282,19 <at> <at> Read in self-contained color syntaxes from \fIsyntaxfile\fP. Note that .SH KEY BINDINGS Key bindings may be reassigned via the following commands: .TP -.B bind \fIkey\fP \fIfunction\fP \fImenu\fP +.B bind \fIkey\fP \fIfunction\fP \fImenu\fP Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the -context of menu \fImenu\fP. The format of \fIkey\fP should be one of: +context of menu \fImenu\fP. +.TP +.B unbind \fIkey\fP \fImenu\fP +Unbind the key \fIkey\fP from the menu named \fImenu\fP or from all +menus by using \fIall\fP. Same key syntax as for binding. +Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the +context of menu \fImenu\fP. +.TP(Continue reading)
RSS Feed