summaryrefslogtreecommitdiff
path: root/devdocs/bash/commands-for-killing.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/bash/commands-for-killing.html')
-rw-r--r--devdocs/bash/commands-for-killing.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/devdocs/bash/commands-for-killing.html b/devdocs/bash/commands-for-killing.html
new file mode 100644
index 00000000..357f65b7
--- /dev/null
+++ b/devdocs/bash/commands-for-killing.html
@@ -0,0 +1,23 @@
+<h1 class="subsection">Killing And Yanking</h1> <dl compact> <dt id="index-kill_002dline-_0028C_002dk_0029"><span><code>kill-line (C-k)</code></span></dt> <dd>
+<p>Kill the text from point to the end of the line. With a negative numeric argument, kill backward from the cursor to the beginning of the current line. </p> </dd> <dt id="index-backward_002dkill_002dline-_0028C_002dx-Rubout_0029"><span><code>backward-kill-line (C-x Rubout)</code></span></dt> <dd>
+<p>Kill backward from the cursor to the beginning of the current line. With a negative numeric argument, kill forward from the cursor to the end of the current line. </p> </dd> <dt id="index-unix_002dline_002ddiscard-_0028C_002du_0029"><span><code>unix-line-discard (C-u)</code></span></dt> <dd>
+<p>Kill backward from the cursor to the beginning of the current line. </p> </dd> <dt id="index-kill_002dwhole_002dline-_0028_0029"><span><code>kill-whole-line ()</code></span></dt> <dd>
+<p>Kill all characters on the current line, no matter where point is. By default, this is unbound. </p> </dd> <dt id="index-kill_002dword-_0028M_002dd_0029"><span><code>kill-word (M-d)</code></span></dt> <dd>
+<p>Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as <code>forward-word</code>. </p> </dd> <dt id="index-backward_002dkill_002dword-_0028M_002dDEL_0029"><span><code>backward-kill-word (M-<span class="key">DEL</span>)</code></span></dt> <dd>
+<p>Kill the word behind point. Word boundaries are the same as <code>backward-word</code>. </p> </dd> <dt id="index-shell_002dkill_002dword-_0028M_002dC_002dd_0029"><span><code>shell-kill-word (M-C-d)</code></span></dt> <dd>
+<p>Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as <code>shell-forward-word</code>. </p> </dd> <dt id="index-shell_002dbackward_002dkill_002dword-_0028_0029"><span><code>shell-backward-kill-word ()</code></span></dt> <dd>
+<p>Kill the word behind point. Word boundaries are the same as <code>shell-backward-word</code>. </p> </dd> <dt id="index-shell_002dtranspose_002dwords-_0028M_002dC_002dt_0029"><span><code>shell-transpose-words (M-C-t)</code></span></dt> <dd>
+<p>Drag the word before point past the word after point, moving point past that word as well. If the insertion point is at the end of the line, this transposes the last two words on the line. Word boundaries are the same as <code>shell-forward-word</code> and <code>shell-backward-word</code>. </p> </dd> <dt id="index-unix_002dword_002drubout-_0028C_002dw_0029"><span><code>unix-word-rubout (C-w)</code></span></dt> <dd>
+<p>Kill the word behind point, using white space as a word boundary. The killed text is saved on the kill-ring. </p> </dd> <dt id="index-unix_002dfilename_002drubout-_0028_0029"><span><code>unix-filename-rubout ()</code></span></dt> <dd>
+<p>Kill the word behind point, using white space and the slash character as the word boundaries. The killed text is saved on the kill-ring. </p> </dd> <dt id="index-delete_002dhorizontal_002dspace-_0028_0029"><span><code>delete-horizontal-space ()</code></span></dt> <dd>
+<p>Delete all spaces and tabs around point. By default, this is unbound. </p> </dd> <dt id="index-kill_002dregion-_0028_0029"><span><code>kill-region ()</code></span></dt> <dd>
+<p>Kill the text in the current region. By default, this command is unbound. </p> </dd> <dt id="index-copy_002dregion_002das_002dkill-_0028_0029"><span><code>copy-region-as-kill ()</code></span></dt> <dd>
+<p>Copy the text in the region to the kill buffer, so it can be yanked right away. By default, this command is unbound. </p> </dd> <dt id="index-copy_002dbackward_002dword-_0028_0029"><span><code>copy-backward-word ()</code></span></dt> <dd>
+<p>Copy the word before point to the kill buffer. The word boundaries are the same as <code>backward-word</code>. By default, this command is unbound. </p> </dd> <dt id="index-copy_002dforward_002dword-_0028_0029"><span><code>copy-forward-word ()</code></span></dt> <dd>
+<p>Copy the word following point to the kill buffer. The word boundaries are the same as <code>forward-word</code>. By default, this command is unbound. </p> </dd> <dt id="index-yank-_0028C_002dy_0029"><span><code>yank (C-y)</code></span></dt> <dd>
+<p>Yank the top of the kill ring into the buffer at point. </p> </dd> <dt id="index-yank_002dpop-_0028M_002dy_0029"><span><code>yank-pop (M-y)</code></span></dt> <dd><p>Rotate the kill-ring, and yank the new top. You can only do this if the prior command is <code>yank</code> or <code>yank-pop</code>. </p></dd> </dl><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>Licensed under the GNU Free Documentation License.<br>
+ <a href="https://www.gnu.org/software/bash/manual/html_node/Commands-For-Killing.html" class="_attribution-link">https://www.gnu.org/software/bash/manual/html_node/Commands-For-Killing.html</a>
+ </p>
+</div>