%PDF- %PDF-
Direktori : /usr/share/doc/info/html/ |
Current File : //usr/share/doc/info/html/Cursor-Commands.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- This manual is for Stand-alone GNU Info (version 6.8, 22 November 2020), a program for viewing documents in Info format (usually created from Texinfo source files). Copyright (C) 1992, 1993, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 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 no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License" in the Texinfo manual. This document is part of a collection distributed under the GNU Free Documentation License. If you want to distribute this document separately from the collection, you can do so by adding a copy of the license to the document, as described in section 6 of the license. --> <title>Cursor Commands (Stand-alone GNU Info 6.8)</title> <meta name="description" content="Cursor Commands (Stand-alone GNU Info 6.8)"> <meta name="keywords" content="Cursor Commands (Stand-alone GNU Info 6.8)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2any"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link href="index.html" rel="start" title="Top"> <link href="Index.html" rel="index" title="Index"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> <link href="index.html" rel="up" title="Top"> <link href="Scrolling-Commands.html" rel="next" title="Scrolling Commands"> <link href="Invoking-Info.html" rel="prev" title="Invoking Info"> <style type="text/css"> <!-- a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em} a.summary-letter {text-decoration: none} blockquote.indentedblock {margin-right: 0em} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} kbd {font-style: oblique} pre.display {font-family: inherit} pre.format {font-family: inherit} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} span.nolinebreak {white-space: nowrap} span.roman {font-family: initial; font-weight: normal} span.sansserif {font-family: sans-serif; font-weight: normal} span:hover a.copiable-anchor {visibility: visible} ul.no-bullet {list-style: none} --> </style> </head> <body lang="en"> <div class="chapter" id="Cursor-Commands"> <div class="header"> <p> Next: <a href="Scrolling-Commands.html" accesskey="n" rel="next">Moving Text Within a Window</a>, Previous: <a href="Invoking-Info.html" accesskey="p" rel="prev">Invoking Info</a>, Up: <a href="index.html" accesskey="u" rel="up">Stand-alone GNU Info</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p> </div> <hr> <span id="Moving-the-Cursor"></span><h2 class="chapter">3 Moving the Cursor</h2> <span id="index-cursor_002c-moving"></span> <span id="index-moving-the-cursor"></span> <p>GNU Info has several commands which allow you to move the cursor about the screen. The notation used in this manual to describe keystrokes is the same as the notation used within the Emacs manual (see <a data-manual="emacs" href="../emacs/User-Input.html#User-Input">User Input</a> in <cite>The GNU Emacs Manual</cite>). <kbd>C-<var>x</var></kbd> means press the <kbd>CTRL</kbd> key and the key <var>x</var>. <kbd>M-<var>x</var></kbd> means press the <kbd>META</kbd> key and the key <var>x</var>. On many terminals the <kbd>META</kbd> key is known as the <kbd>ALT</kbd> key. <kbd>SPC</kbd> is the space bar. The other keys are usually called by the names printed on them. </p> <p>The following table lists the basic cursor movement commands in Info. Each entry consists of the key sequence you should type to execute the cursor movement, the <code>M-x</code> command name (displayed in parentheses), and a short description of what the command does.<a id="DOCF2" href="#FOOT2"><sup>2</sup></a> All of the cursor motion commands can take a <em>numeric</em> argument (see <a href="Miscellaneous-Commands.html"><code>universal-argument</code></a> to find out how to supply them). With a numeric argument, the motion commands are simply executed that many times; for example, a numeric argument of 4 given to <code>next-line</code> causes the cursor to move down 4 lines. With a negative numeric argument, the motion is reversed; an argument of -4 given to the <code>next-line</code> command would cause the cursor to move <em>up</em> 4 lines. </p> <dl compact="compact"> <dt id='index-C_002dn'><span><kbd>C-n</kbd> (<code>next-line</code>)<a href='#index-C_002dn' class='copiable-anchor'> ¶</a></span></dt> <dt><span><tt class="key">DOWN</tt> (an arrow key)</span></dt> <dd><span id="index-DOWN-_0028an-arrow-key_0029"></span> <span id="index-next_002dline"></span> <p>Move the cursor down to the next line. </p> </dd> <dt id='index-C_002dp'><span><kbd>C-p</kbd> (<code>prev-line</code>)<a href='#index-C_002dp' class='copiable-anchor'> ¶</a></span></dt> <dt><span><tt class="key">UP</tt> (an arrow key)</span></dt> <dd><span id="index-UP-_0028an-arrow-key_0029"></span> <span id="index-prev_002dline"></span> <p>Move the cursor up to the previous line. </p> </dd> <dt id='index-C_002da_002c-in-Info-windows'><span><kbd>C-a</kbd> (<code>beginning-of-line</code>)<a href='#index-C_002da_002c-in-Info-windows' class='copiable-anchor'> ¶</a></span></dt> <dt><span><tt class="key">Home</tt> (on DOS/Windows only)</span></dt> <dd><span id="index-Home"></span> <span id="index-beginning_002dof_002dline"></span> <p>Move the cursor to the start of the current line. </p> </dd> <dt id='index-C_002de_002c-in-Info-windows'><span><kbd>C-e</kbd> (<code>end-of-line</code>)<a href='#index-C_002de_002c-in-Info-windows' class='copiable-anchor'> ¶</a></span></dt> <dt><span><tt class="key">End</tt> (on DOS/Windows only)</span></dt> <dd><span id="index-End"></span> <span id="index-end_002dof_002dline"></span> <p>Move the cursor to the end of the current line. </p> </dd> <dt id='index-C_002df_002c-in-Info-windows'><span><kbd>C-f</kbd> (<code>forward-char</code>)<a href='#index-C_002df_002c-in-Info-windows' class='copiable-anchor'> ¶</a></span></dt> <dt><span><tt class="key">RIGHT</tt> (an arrow key)</span></dt> <dd><span id="index-RIGHT-_0028an-arrow-key_0029"></span> <span id="index-forward_002dchar"></span> <p>Move the cursor forward a character. </p> </dd> <dt id='index-C_002db_002c-in-Info-windows'><span><kbd>C-b</kbd> (<code>backward-char</code>)<a href='#index-C_002db_002c-in-Info-windows' class='copiable-anchor'> ¶</a></span></dt> <dt><span><tt class="key">LEFT</tt> (an arrow key)</span></dt> <dd><span id="index-LEFT-_0028an-arrow-key_0029"></span> <span id="index-backward_002dchar"></span> <p>Move the cursor backward a character. </p> </dd> <dt id='index-M_002df_002c-in-Info-windows'><span><kbd>M-f</kbd> (<code>forward-word</code>)<a href='#index-M_002df_002c-in-Info-windows' class='copiable-anchor'> ¶</a></span></dt> <dt><span><kbd>C-<span class="key">RIGHT</span></kbd> (on DOS/Windows only)</span></dt> <dd><span id="index-C_002dRIGHT"></span> <span id="index-forward_002dword"></span> <p>Move the cursor forward a word. </p> </dd> <dt id='index-M_002db_002c-in-Info-windows'><span><kbd>M-b</kbd> (<code>backward-word</code>)<a href='#index-M_002db_002c-in-Info-windows' class='copiable-anchor'> ¶</a></span></dt> <dt><span><kbd>C-<span class="key">LEFT</span></kbd> (on DOS/Windows only)</span></dt> <dd><span id="index-C_002dLEFT"></span> <span id="index-backward_002dword"></span> <p>Move the cursor backward a word. </p> </dd> <dt id='index-b_002c-in-Info-windows'><span><kbd>M-<</kbd> (<code>beginning-of-node</code>)<a href='#index-b_002c-in-Info-windows' class='copiable-anchor'> ¶</a></span></dt> <dt><span><kbd>C-<span class="key">Home</span></kbd> (on DOS/Windows only)</span></dt> <dt><span><kbd>b</kbd></span></dt> <dd><span id="index-M_002d_003c"></span> <span id="index-C_002dHome"></span> <span id="index-beginning_002dof_002dnode"></span> <p>Move the cursor to the start of the current node. </p> </dd> <dt id='index-M_002d_003e'><span><kbd>M-></kbd> (<code>end-of-node</code>)<a href='#index-M_002d_003e' class='copiable-anchor'> ¶</a></span></dt> <dt><span><kbd>C-<span class="key">End</span></kbd> (on DOS/Windows only)</span></dt> <dt><span><kbd>e</kbd></span></dt> <dd><span id="index-e_002c-in-Info-windows"></span> <span id="index-C_002dEnd"></span> <span id="index-end_002dof_002dnode"></span> <p>Move the cursor to the end of the current node. </p> </dd> <dt id='index-M_002dr'><span><kbd>M-r</kbd> (<code>move-to-window-line</code>)<a href='#index-M_002dr' class='copiable-anchor'> ¶</a></span></dt> <dd><span id="index-move_002dto_002dwindow_002dline"></span> <p>Move the cursor to a specific line of the window. Without a numeric argument, <code>M-r</code> moves the cursor to the start of the line in the center of the window. With a numeric argument of <var>n</var>, <code>M-r</code> moves the cursor to the start of the <var>n</var>th line in the window. </p></dd> </dl> </div> <div class="footnote"> <hr> <h4 class="footnotes-heading">Footnotes</h4> <h5><a id="FOOT2" href="#DOCF2">(2)</a></h5> <p><code>M-x</code> is also a command; it invokes <code>execute-extended-command</code>, letting you run a command by name. See <a data-manual="emacs" href="../emacs/M_002dx.html#M_002dx">Executing an extended command</a> in <cite>The GNU Emacs Manual</cite>, for more detailed information.</p> </div> <hr> <div class="header"> <p> Next: <a href="Scrolling-Commands.html">Moving Text Within a Window</a>, Previous: <a href="Invoking-Info.html">Invoking Info</a>, Up: <a href="index.html">Stand-alone GNU Info</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p> </div> </body> </html>