1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Commands for Text (GNU Octave (version 10.3.0))</title>
<meta name="description" content="Commands for Text (GNU Octave (version 10.3.0))">
<meta name="keywords" content="Commands for Text (GNU Octave (version 10.3.0))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="index.html" rel="start" title="Top">
<link href="Concept-Index.html" rel="index" title="Concept Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Command-Line-Editing.html" rel="up" title="Command Line Editing">
<link href="Commands-for-Completion.html" rel="next" title="Commands for Completion">
<link href="Killing-and-Yanking.html" rel="prev" title="Killing and Yanking">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
kbd.kbd {font-style: oblique}
kbd.key {font-style: normal}
span:hover a.copiable-link {visibility: visible}
-->
</style>
<link rel="stylesheet" type="text/css" href="octave.css">
</head>
<body lang="en">
<div class="subsection-level-extent" id="Commands-for-Text">
<div class="nav-panel">
<p>
Next: <a href="Commands-for-Completion.html" accesskey="n" rel="next">Letting Readline Type for You</a>, Previous: <a href="Killing-and-Yanking.html" accesskey="p" rel="prev">Killing and Yanking</a>, Up: <a href="Command-Line-Editing.html" accesskey="u" rel="up">Command Line Editing</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsection" id="Commands-for-Changing-Text"><span>2.4.3 Commands for Changing Text<a class="copiable-link" href="#Commands-for-Changing-Text"> ¶</a></span></h4>
<p>The following commands can be used for entering characters that would
otherwise have a special meaning (e.g., <kbd class="key">TAB</kbd>, <kbd class="kbd">C-q</kbd>, etc.), or
for quickly correcting typing mistakes.
</p>
<dl class="table">
<dt><kbd class="kbd">C-q</kbd></dt>
<dt><kbd class="kbd">C-v</kbd></dt>
<dd><p>Add the next character that you type to the line verbatim. This is
how to insert things like <kbd class="kbd">C-q</kbd> for example.
</p>
</dd>
<dt><kbd class="kbd">M-<kbd class="key">TAB</kbd></kbd></dt>
<dd><p>Insert a tab character.
</p>
</dd>
<dt><kbd class="kbd">C-t</kbd></dt>
<dd><p>Drag the character before the cursor forward over the character at the
cursor, also moving the cursor forward. If the cursor is at the end of
the line, then transpose the two characters before it.
</p>
</dd>
<dt><kbd class="kbd">M-t</kbd></dt>
<dd><p>Drag the word behind the cursor past the word in front of the cursor
moving the cursor over that word as well.
</p>
</dd>
<dt><kbd class="kbd">M-u</kbd></dt>
<dd><p>Uppercase the characters following the cursor to the end of the current
(or following) word, moving the cursor to the end of the word.
</p>
</dd>
<dt><kbd class="kbd">M-l</kbd></dt>
<dd><p>Lowercase the characters following the cursor to the end of the current
(or following) word, moving the cursor to the end of the word.
</p>
</dd>
<dt><kbd class="kbd">M-c</kbd></dt>
<dd><p>Uppercase the character following the cursor (or the beginning of the
next word if the cursor is between words), moving the cursor to the end
of the word.
</p></dd>
</dl>
</div>
</body>
</html>
|