Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Commands-For-Killing.html
blob2ddaff1878bf890a6da99cb4822376547591ba5b
1 <html lang="en">
2 <head>
3 <title>Debugging with GDB</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Debugging with GDB">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Commands%20For%20Killing">Commands For Killing</a>,
13 Next:<a rel="next" accesskey="n" href="Numeric-Arguments.html#Numeric%20Arguments">Numeric Arguments</a>,
14 Previous:<a rel="previous" accesskey="p" href="Commands-For-Text.html#Commands%20For%20Text">Commands For Text</a>,
15 Up:<a rel="up" accesskey="u" href="Bindable-Readline-Commands.html#Bindable%20Readline%20Commands">Bindable Readline Commands</a>
16 <hr><br>
17 </div>
19 <h4 class="subsection">Killing And Yanking</h4>
21 <dl>
23 <br><dt><code>kill-line (C-k)</code>
24 <dd>Kill the text from point to the end of the line.
26 <br><dt><code>backward-kill-line (C-x Rubout)</code>
27 <dd>Kill backward to the beginning of the line.
29 <br><dt><code>unix-line-discard (C-u)</code>
30 <dd>Kill backward from the cursor to the beginning of the current line.
32 <br><dt><code>kill-whole-line ()</code>
33 <dd>Kill all characters on the current line, no matter where point is.
34 By default, this is unbound.
36 <br><dt><code>kill-word (M-d)</code>
37 <dd>Kill from point to the end of the current word, or if between
38 words, to the end of the next word.
39 Word boundaries are the same as <code>forward-word</code>.
41 <br><dt><code>backward-kill-word (M-&lt;DEL&gt;)</code>
42 <dd>Kill the word behind point.
43 Word boundaries are the same as <code>backward-word</code>.
45 <br><dt><code>unix-word-rubout (C-w)</code>
46 <dd>Kill the word behind point, using white space as a word boundary.
47 The killed text is saved on the kill-ring.
49 <br><dt><code>delete-horizontal-space ()</code>
50 <dd>Delete all spaces and tabs around point. By default, this is unbound.
52 <br><dt><code>kill-region ()</code>
53 <dd>Kill the text in the current region.
54 By default, this command is unbound.
56 <br><dt><code>copy-region-as-kill ()</code>
57 <dd>Copy the text in the region to the kill buffer, so it can be yanked
58 right away. By default, this command is unbound.
60 <br><dt><code>copy-backward-word ()</code>
61 <dd>Copy the word before point to the kill buffer.
62 The word boundaries are the same as <code>backward-word</code>.
63 By default, this command is unbound.
65 <br><dt><code>copy-forward-word ()</code>
66 <dd>Copy the word following point to the kill buffer.
67 The word boundaries are the same as <code>forward-word</code>.
68 By default, this command is unbound.
70 <br><dt><code>yank (C-y)</code>
71 <dd>Yank the top of the kill ring into the buffer at point.
73 <br><dt><code>yank-pop (M-y)</code>
74 <dd>Rotate the kill-ring, and yank the new top. You can only do this if
75 the prior command is <code>yank</code> or <code>yank-pop</code>.
76 </dl>
78 </body></html>