Questions tagged [delete-selection-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

C-w deletes everything below the cursor [duplicate]

I first press Ctrl-Space to mark start of block, I select lines and to cut the selected text, using C-w. Later I undo this and move my cursor top of the file and and press C-w, now all the lines ...
2
votes
0answers
79 views

smartparen-latex with delete-selection-mode

In my emacs setup, if I have smartparens-mode enabled with smartparens-latex and I open a latex document, type some text then select it and type any latex special command (such as $, ", \{, etc...) ...
1
vote
2answers
377 views

What's the most efficient, idiomatic way to paste-and-replace in Emacs?

I often do something like this: Copy some stuff Go to where I need to paste it Paste it (C-y) Kill the rest of the line (C-k) Select what I just pasted, and copy it again Repeat steps 2-5 The whole "...
5
votes
3answers
1k views

delete-selection-mode not a default?

If you enable Delete Selection mode, a minor mode, then inserting text while the mark is active causes the selected text to be deleted first. This also deactivates the mark. Many graphical ...
3
votes
3answers
757 views

Replace selected text on [shift insert] is broken in emacs 25.1

I updated to 25.1 and found that copy/paste works differently. For example when I select a word "visit" and try to replace this word with [shift insert], text in clipboard is inserted in the ...
1
vote
0answers
184 views

Overwrite selected text

Previously when I selected text and type something or insert from buffer, the selected text would get overwritten. Now it gets appended, apparently I've change some setting. What is it?
0
votes
1answer
112 views

Unable to deactivate the selection mode with C-SPC

Sometimes I can't deactivate the mode of selecting text which is C-SPC. Even if I press it a second time and move the cursor, the text still gets selected. I press C-SPC one more time, it activates ...
6
votes
1answer
166 views

delete-selection-mode and $

Using Aquamacs 3.2 on Mac OSX Yosemite. I run with delete-selection-mode set, and it mostly works as advertised. However, if I'm in TeX mode (AucTeX), make a selection, and then type $, the selection ...
5
votes
1answer
197 views

How to make sure currently selected text gets deleted when typing new text?

When editing text, editors' usual behaviour is to replace selected text with the next text. In Emacs, when text is selected and you enter new characters, the new text gets inserted at point, leaving ...