Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 3889

The kill ring is a global list of blocks of text that were previously copied or moved from buffers.

5 votes

Modification of kill-ring-save to copy current word/line/whole buffer/ if no region is selected

expand-region or easy-kill or hydra might provide better idea on how to do one thing continuously, but here is a silly command which tries to do exactly what you want. (defvar my-kill-ring-save--coun …
xuchunyang's user avatar
  • 14.8k
5 votes

How copy content of minibuffer to kill-ring?

Just like ordinary buffers, C-x h (mark-whole-buffer) then M-w (kill-ring-save).
xuchunyang's user avatar
  • 14.8k
5 votes
Accepted

Copying a rectangular selection to system clipboard

(defun copy-rectangle-to-system-clipboard (start end) "Like `copy-rectangle-as-kill', but also copy to system clipboard." (interactive "r") (call-interactively #'copy-rectangle-as-kill) (with- …
xuchunyang's user avatar
  • 14.8k
6 votes
Accepted

How to send *shell* stdout directly to kill-ring?

Emacs Command Instead of select-and-copy manually, you can also write a command and let it do the work for you: ;; Adapted from `comint-delete-output' (defun comint-copy-output () "Copy all output …
xuchunyang's user avatar
  • 14.8k