blob: c9616d3c9fc9de15b210d4c0b5d7aa00652cccae [file] [log] [blame]
<html lang="en">
<head>
<title>Commands For Moving - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Bindable-Readline-Commands.html#Bindable-Readline-Commands" title="Bindable Readline Commands">
<link rel="next" href="Commands-For-History.html#Commands-For-History" title="Commands For History">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 1988-2019 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``Free Software'' and ``Free Software Needs
Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,''
and with the Back-Cover Texts as in (a) below.
(a) The FSF's Back-Cover Text is: ``You are free to copy and modify
this GNU Manual. Buying copies from GNU Press supports the FSF in
developing GNU and promoting software freedom.''
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Commands-For-Moving"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Commands-For-History.html#Commands-For-History">Commands For History</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Bindable-Readline-Commands.html#Bindable-Readline-Commands">Bindable Readline Commands</a>
<hr>
</div>
<h4 class="subsection">32.4.1 Commands For Moving</h4>
<dl>
<dt><code>beginning-of-line (C-a)</code><a name="index-beginning_002dof_002dline-_0028C_002da_0029-3220"></a><dd>Move to the start of the current line.
<br><dt><code>end-of-line (C-e)</code><a name="index-end_002dof_002dline-_0028C_002de_0029-3221"></a><dd>Move to the end of the line.
<br><dt><code>forward-char (C-f)</code><a name="index-forward_002dchar-_0028C_002df_0029-3222"></a><dd>Move forward a character.
<br><dt><code>backward-char (C-b)</code><a name="index-backward_002dchar-_0028C_002db_0029-3223"></a><dd>Move back a character.
<br><dt><code>forward-word (M-f)</code><a name="index-forward_002dword-_0028M_002df_0029-3224"></a><dd>Move forward to the end of the next word.
Words are composed of letters and digits.
<br><dt><code>backward-word (M-b)</code><a name="index-backward_002dword-_0028M_002db_0029-3225"></a><dd>Move back to the start of the current or previous word.
Words are composed of letters and digits.
<br><dt><code>clear-screen (C-l)</code><a name="index-clear_002dscreen-_0028C_002dl_0029-3226"></a><dd>Clear the screen and redraw the current line,
leaving the current line at the top of the screen.
<br><dt><code>redraw-current-line ()</code><a name="index-redraw_002dcurrent_002dline-_0028_0029-3227"></a><dd>Refresh the current line. By default, this is unbound.
</dl>
</body></html>