From 6cd98e32f7c7af7fb65e3a63b219327f6c0fef69 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 21 Jan 2020 16:44:53 +0100 Subject: [PATCH] docs: document the new Sh-M-X format for binding --- doc/nano.texi | 9 ++++++++- doc/nanorc.5 | 11 +++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/doc/nano.texi b/doc/nano.texi index 872f2221..28995c3d 100644 --- 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 index 3bbca5ae..64ececda 100644 --- 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.