summaryrefslogtreecommitdiff
path: root/devdocs/bash/readline-movement-commands.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/bash/readline-movement-commands.html
new repository
Diffstat (limited to 'devdocs/bash/readline-movement-commands.html')
-rw-r--r--devdocs/bash/readline-movement-commands.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/bash/readline-movement-commands.html b/devdocs/bash/readline-movement-commands.html
new file mode 100644
index 00000000..147e5cdb
--- /dev/null
+++ b/devdocs/bash/readline-movement-commands.html
@@ -0,0 +1,6 @@
+<h1 class="subsection">Readline Movement Commands</h1> <p>The above table describes the most basic keystrokes that you need in order to do editing of the input line. For your convenience, many other commands have been added in addition to <kbd>C-b</kbd>, <kbd>C-f</kbd>, <kbd>C-d</kbd>, and <code>DEL</code>. Here are some commands for moving more rapidly about the line. </p> <dl compact> <dt><span><kbd>C-a</kbd></span></dt> <dd><p>Move to the start of the line. </p></dd> <dt><span><kbd>C-e</kbd></span></dt> <dd><p>Move to the end of the line. </p></dd> <dt><span><kbd>M-f</kbd></span></dt> <dd><p>Move forward a word, where a word is composed of letters and digits. </p></dd> <dt><span><kbd>M-b</kbd></span></dt> <dd><p>Move backward a word. </p></dd> <dt><span><kbd>C-l</kbd></span></dt> <dd><p>Clear the screen, reprinting the current line at the top. </p></dd> </dl> <p>Notice how <kbd>C-f</kbd> moves forward a character, while <kbd>M-f</kbd> moves forward a word. It is a loose convention that control keystrokes operate on characters while meta keystrokes operate on words. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>Licensed under the GNU Free Documentation License.<br>
+ <a href="https://www.gnu.org/software/bash/manual/html_node/Readline-Movement-Commands.html" class="_attribution-link">https://www.gnu.org/software/bash/manual/html_node/Readline-Movement-Commands.html</a>
+ </p>
+</div>