Questions tagged [kill-text]
The kill-text tag has no summary.
30 questions
1 vote
1 answer
171 views
Using only the mouse, can I copy some text and paste it over some other text?
Under emacs -Q, Emacs opens to *scratch*. This already has a handy block of text. At the bottom of the screen, I use M-x spook to generate some more. As documented, just left-clicking and dragging ...
0 votes
1 answer
95 views
C-k in emacs locks up entire ChromeOS
Anybody here use ChromeOS i.e., Chromebook? Well I find that all I need to do in emacs is hold down C-k munching up line after line, for oh, 10 seconds, and voila, the entire mighty ChromeOS operating ...
0 votes
1 answer
81 views
In Python buffer erase large output
Python buffers support comint-delete-output, but if I forget to do it before entering another command, I have a big hunk of text I can't easily erase. In shell mode, I can set the mark and run comint-...
1 vote
1 answer
364 views
How to transpose a pair of words?
Suppose I have the following text: :lacerte-attach-statement-type "suffix" :data-automation-id "OSICtrlE15-140" And I would like to have: :data-automation-id "OSICtrlE15-140&...
14 votes
3 answers
5k views
How to select and delete a column of text in emacs?
I have this text 1 A 2 B 3 C I want to remove the first column to make it A B C Ok so I need to make a rectangle. Reading about rectangles I see "To specify a rectangle for a command to work on,...
0 votes
2 answers
310 views
Default yank keyboard shortcut does not work
I am using Emacs 27.1 (GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-03-28, modified by Debian). When I hover the mouse pointer over the "copy&...
4 votes
3 answers
395 views
How can I move/kill multiple chunks of text to the same place/marker, one after another?
The task: I have a large-ish file, from which I need to pick certain chunks of text and move them into a certain place so they go one after another, in the order in which I pick them. More ...
7 votes
3 answers
5k views
Delete from point to beginning of the line
Have read the GNU manuals on erasing, killing, and deleting. In bash C-u deletes from the cursor to the beginning. I have searched and in much disbelief can't find out what the equivalent is in emacs?...