nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 6cd98e32f7c7af7fb65e3a63b219327f6c0fef69
parent f9baa4de71f44a30e29f44228458f294802e1d5b
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 21 Jan 2020 16:44:53 +0100

docs: document the new Sh-M-X format for binding <Shift+Meta+letter>

Diffstat:
Mdoc/nano.texi | 9++++++++-
Mdoc/nanorc.5 | 11+++++++++--
2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/doc/nano.texi b/doc/nano.texi @@ -1163,7 +1163,14 @@ Example: @code{^C}. @item @code{M-@var{X}} ------ where @var{X} is any ASCII character except [, or the word "Space". -Example: @code{M-C}. +Example: @code{M-8}. + +@item +@code{Sh-M-@var{X}} ------ where @var{X} is a Latin letter. +Example: @code{Sh-M-U}. +By default, each Meta+letter keystroke does the same as the corresponding +Shift+Meta+letter. But when any Shift+Meta bind is made, that will +no longer be the case, for all letters. @item @code{F@var{n}} ------ where @var{n} is a numeric value from 1 to 24. diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -475,7 +475,7 @@ menus where the key exists when \fBall\fP is used). .TP The format of \fIkey\fP should be one of: .RS 3 -.TP 5 +.TP 7 .BI ^ X where \fIX\fR is a Latin letter, or one of several ASCII characters (@, ], \\, ^, _), or the word "Space". @@ -483,7 +483,14 @@ Example: ^C. .TP .BI M\- X where \fIX\fR is any ASCII character except [, or the word "Space". -Example: M\-C. +Example: M\-8. +.TP +.BI Sh\-M\- X +where \fIX\fR is a Latin letter. +Example: Sh\-M\-U. +By default, each Meta+letter keystroke does the same as the corresponding +Shift+Meta+letter. But when any Shift+Meta bind is made, that will +no longer be the case, for all letters. .TP .BI F N where \fIN\fR is a numeric value from 1 to 24.