[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH 1/2] nanorc(5): fix bind/unbind documentation
From: |
Mike Frysinger |
Subject: |
[Nano-devel] [PATCH 1/2] nanorc(5): fix bind/unbind documentation |
Date: |
Mon, 28 Nov 2011 15:39:13 -0500 |
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 <address@hidden>
---
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
@@ -282,9 +282,19 @@ 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
+
+The format of \fIkey\fP should be one of:
+
.TP
.B ^
followed by an alpha character or the word "Space".
@@ -298,8 +308,10 @@ Example: M-C
followed by a numeric value from 1 to 16.
Example: F10
.TP
-Valid function names to be bound include:
-.TP 3
+
+Valid \fIfunction\fP names to be bound include:
+
+.TP 2
.B help
Invoke the help menu.
.TP
@@ -506,8 +518,9 @@ Toggle whether long lines will be wrapped to the next line.
Toggle whether the suspend sequence (normally ^Z) will suspend the editor
window.
.TP
-Valid menu sections are:
-.TP
+Valid \fImenu\fP sections are:
+
+.TP 2
.B main
The main editor window where text is entered.
.TP
@@ -549,13 +562,6 @@ The 'go to directory' menu.
.TP
.B all
A special name meaning: apply to all menus where this function exists.
-
-.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. The format of \fIkey\fP should be one of:
.SH FILES
.TP
.I SYSCONFDIR/nanorc
--
1.7.6.1
- [Nano-devel] [PATCH 1/2] nanorc(5): fix bind/unbind documentation,
Mike Frysinger <=