You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

189 lines
7.3KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Free Software" and "Free Software Needs
  8. Free Documentation", with the Front-Cover Texts being "A GNU Manual,"
  9. and with the Back-Cover Texts as in (a) below.
  10. (a) The FSF's Back-Cover Text is: "You are free to copy and modify
  11. this GNU Manual. Buying copies from GNU Press supports the FSF in
  12. developing GNU and promoting software freedom." -->
  13. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  14. <head>
  15. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  16. <title>Commands For Killing (Debugging with GDB)</title>
  17. <meta name="description" content="Commands For Killing (Debugging with GDB)">
  18. <meta name="keywords" content="Commands For Killing (Debugging with GDB)">
  19. <meta name="resource-type" content="document">
  20. <meta name="distribution" content="global">
  21. <meta name="Generator" content="makeinfo">
  22. <link href="index.html#Top" rel="start" title="Top">
  23. <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
  24. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  25. <link href="Bindable-Readline-Commands.html#Bindable-Readline-Commands" rel="up" title="Bindable Readline Commands">
  26. <link href="Numeric-Arguments.html#Numeric-Arguments" rel="next" title="Numeric Arguments">
  27. <link href="Commands-For-Text.html#Commands-For-Text" rel="prev" title="Commands For Text">
  28. <style type="text/css">
  29. <!--
  30. a.summary-letter {text-decoration: none}
  31. blockquote.indentedblock {margin-right: 0em}
  32. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  33. blockquote.smallquotation {font-size: smaller}
  34. div.display {margin-left: 3.2em}
  35. div.example {margin-left: 3.2em}
  36. div.lisp {margin-left: 3.2em}
  37. div.smalldisplay {margin-left: 3.2em}
  38. div.smallexample {margin-left: 3.2em}
  39. div.smalllisp {margin-left: 3.2em}
  40. kbd {font-style: oblique}
  41. pre.display {font-family: inherit}
  42. pre.format {font-family: inherit}
  43. pre.menu-comment {font-family: serif}
  44. pre.menu-preformatted {font-family: serif}
  45. pre.smalldisplay {font-family: inherit; font-size: smaller}
  46. pre.smallexample {font-size: smaller}
  47. pre.smallformat {font-family: inherit; font-size: smaller}
  48. pre.smalllisp {font-size: smaller}
  49. span.nolinebreak {white-space: nowrap}
  50. span.roman {font-family: initial; font-weight: normal}
  51. span.sansserif {font-family: sans-serif; font-weight: normal}
  52. ul.no-bullet {list-style: none}
  53. -->
  54. </style>
  55. </head>
  56. <body lang="en">
  57. <a name="Commands-For-Killing"></a>
  58. <div class="header">
  59. <p>
  60. Next: <a href="Numeric-Arguments.html#Numeric-Arguments" accesskey="n" rel="next">Numeric Arguments</a>, Previous: <a href="Commands-For-Text.html#Commands-For-Text" accesskey="p" rel="prev">Commands For Text</a>, Up: <a href="Bindable-Readline-Commands.html#Bindable-Readline-Commands" accesskey="u" rel="up">Bindable Readline Commands</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
  61. </div>
  62. <hr>
  63. <a name="Killing-And-Yanking"></a>
  64. <h4 class="subsection">32.4.4 Killing And Yanking</h4>
  65. <dl compact="compact">
  66. <dt><code>kill-line (C-k)</code>
  67. <a name="index-kill_002dline-_0028C_002dk_0029"></a>
  68. </dt>
  69. <dd><p>Kill the text from point to the end of the line.
  70. </p>
  71. </dd>
  72. <dt><code>backward-kill-line (C-x Rubout)</code>
  73. <a name="index-backward_002dkill_002dline-_0028C_002dx-Rubout_0029"></a>
  74. </dt>
  75. <dd><p>Kill backward from the cursor to the beginning of the current line.
  76. </p>
  77. </dd>
  78. <dt><code>unix-line-discard (C-u)</code>
  79. <a name="index-unix_002dline_002ddiscard-_0028C_002du_0029"></a>
  80. </dt>
  81. <dd><p>Kill backward from the cursor to the beginning of the current line.
  82. </p>
  83. </dd>
  84. <dt><code>kill-whole-line ()</code>
  85. <a name="index-kill_002dwhole_002dline-_0028_0029"></a>
  86. </dt>
  87. <dd><p>Kill all characters on the current line, no matter where point is.
  88. By default, this is unbound.
  89. </p>
  90. </dd>
  91. <dt><code>kill-word (M-d)</code>
  92. <a name="index-kill_002dword-_0028M_002dd_0029"></a>
  93. </dt>
  94. <dd><p>Kill from point to the end of the current word, or if between
  95. words, to the end of the next word.
  96. Word boundaries are the same as <code>forward-word</code>.
  97. </p>
  98. </dd>
  99. <dt><code>backward-kill-word (M-<span class="key">DEL</span>)</code>
  100. <a name="index-backward_002dkill_002dword-_0028M_002dDEL_0029"></a>
  101. </dt>
  102. <dd><p>Kill the word behind point.
  103. Word boundaries are the same as <code>backward-word</code>.
  104. </p>
  105. </dd>
  106. <dt><code>unix-word-rubout (C-w)</code>
  107. <a name="index-unix_002dword_002drubout-_0028C_002dw_0029"></a>
  108. </dt>
  109. <dd><p>Kill the word behind point, using white space as a word boundary.
  110. The killed text is saved on the kill-ring.
  111. </p>
  112. </dd>
  113. <dt><code>unix-filename-rubout ()</code>
  114. <a name="index-unix_002dfilename_002drubout-_0028_0029"></a>
  115. </dt>
  116. <dd><p>Kill the word behind point, using white space and the slash character
  117. as the word boundaries.
  118. The killed text is saved on the kill-ring.
  119. </p>
  120. </dd>
  121. <dt><code>delete-horizontal-space ()</code>
  122. <a name="index-delete_002dhorizontal_002dspace-_0028_0029"></a>
  123. </dt>
  124. <dd><p>Delete all spaces and tabs around point. By default, this is unbound.
  125. </p>
  126. </dd>
  127. <dt><code>kill-region ()</code>
  128. <a name="index-kill_002dregion-_0028_0029"></a>
  129. </dt>
  130. <dd><p>Kill the text in the current region.
  131. By default, this command is unbound.
  132. </p>
  133. </dd>
  134. <dt><code>copy-region-as-kill ()</code>
  135. <a name="index-copy_002dregion_002das_002dkill-_0028_0029"></a>
  136. </dt>
  137. <dd><p>Copy the text in the region to the kill buffer, so it can be yanked
  138. right away. By default, this command is unbound.
  139. </p>
  140. </dd>
  141. <dt><code>copy-backward-word ()</code>
  142. <a name="index-copy_002dbackward_002dword-_0028_0029"></a>
  143. </dt>
  144. <dd><p>Copy the word before point to the kill buffer.
  145. The word boundaries are the same as <code>backward-word</code>.
  146. By default, this command is unbound.
  147. </p>
  148. </dd>
  149. <dt><code>copy-forward-word ()</code>
  150. <a name="index-copy_002dforward_002dword-_0028_0029"></a>
  151. </dt>
  152. <dd><p>Copy the word following point to the kill buffer.
  153. The word boundaries are the same as <code>forward-word</code>.
  154. By default, this command is unbound.
  155. </p>
  156. </dd>
  157. <dt><code>yank (C-y)</code>
  158. <a name="index-yank-_0028C_002dy_0029"></a>
  159. </dt>
  160. <dd><p>Yank the top of the kill ring into the buffer at point.
  161. </p>
  162. </dd>
  163. <dt><code>yank-pop (M-y)</code>
  164. <a name="index-yank_002dpop-_0028M_002dy_0029"></a>
  165. </dt>
  166. <dd><p>Rotate the kill-ring, and yank the new top. You can only do this if
  167. the prior command is <code>yank</code> or <code>yank-pop</code>.
  168. </p></dd>
  169. </dl>
  170. <hr>
  171. <div class="header">
  172. <p>
  173. Next: <a href="Numeric-Arguments.html#Numeric-Arguments" accesskey="n" rel="next">Numeric Arguments</a>, Previous: <a href="Commands-For-Text.html#Commands-For-Text" accesskey="p" rel="prev">Commands For Text</a>, Up: <a href="Bindable-Readline-Commands.html#Bindable-Readline-Commands" accesskey="u" rel="up">Bindable Readline Commands</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
  174. </div>
  175. </body>
  176. </html>