[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/25] Document common arrow key bindings.
From: |
G. Branden Robinson |
Subject: |
[PATCH 16/25] Document common arrow key bindings. |
Date: |
Thu, 21 Nov 2024 22:22:19 -0600 |
---
doc/bash.1 | 4 ++++
lib/readline/doc/readline.3 | 2 ++
lib/readline/doc/rluser.texi | 4 ++++
3 files changed, 10 insertions(+)
diff --git a/doc/bash.1 b/doc/bash.1
index d547c330..658bed68 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -7251,9 +7251,11 @@ .SS Commands for Moving
.TP
.B forward\-char (C\-f)
Move forward a character.
+This may also be bound to the right arrow key on some keyboards.
.TP
.B backward\-char (C\-b)
Move back a character.
+This may also be bound to the left arrow key on some keyboards.
.TP
.B forward\-word (M\-f)
Move forward to the end of the next word.
@@ -7320,10 +7322,12 @@ .SS Commands for Manipulating the History
.B previous\-history (C\-p)
Fetch the previous command from the history list, moving back in
the list.
+This may also be bound to the up arrow key on some keyboards.
.TP
.B next\-history (C\-n)
Fetch the next command from the history list, moving forward in the
list.
+This may also be bound to the down arrow key on some keyboards.
.TP
.B beginning\-of\-history (M\-<)
Move to the first line in the history.
diff --git a/lib/readline/doc/readline.3 b/lib/readline/doc/readline.3
index 35fa4337..6b197028 100644
--- a/lib/readline/doc/readline.3
+++ b/lib/readline/doc/readline.3
@@ -1071,10 +1071,12 @@ .SS Commands for Manipulating the History
.B previous\-history (C\-p)
Fetch the previous command from the history list, moving back in
the list.
+This may also be bound to the up arrow key on some keyboards.
.TP
.B next\-history (C\-n)
Fetch the next command from the history list, moving forward in the
list.
+This may also be bound to the down arrow key on some keyboards.
.TP
.B beginning\-of\-history (M\-<)
Move to the first line in the history.
diff --git a/lib/readline/doc/rluser.texi b/lib/readline/doc/rluser.texi
index caab87d4..57770e5d 100644
--- a/lib/readline/doc/rluser.texi
+++ b/lib/readline/doc/rluser.texi
@@ -1331,9 +1331,11 @@
@item forward-char (C-f)
Move forward a character.
+This may also be bound to the right arrow key on some keyboards.
@item backward-char (C-b)
Move back a character.
+This may also be bound to the left arrow key on some keyboards.
@item forward-word (M-f)
Move forward to the end of the next word.
@@ -1404,9 +1406,11 @@
@item previous-history (C-p)
Move `back' through the history list, fetching the previous command.
+This may also be bound to the up arrow key on some keyboards.
@item next-history (C-n)
Move `forward' through the history list, fetching the next command.
+This may also be bound to the down arrow key on some keyboards.
@item beginning-of-history (M-<)
Move to the first line in the history.
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 16/25] Document common arrow key bindings.,
G. Branden Robinson <=