Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replace highlighted selected text in Emacs by default

Tags:

emacs

Contrary to many other text editors that I use when I select the text in Emacs and type over it, the text does not get replaced by. How can I change this behavior in Emacs?

like image 328
M.Rez Avatar asked Dec 22 '25 00:12

M.Rez


1 Answers

Instead of removing the question I decided to answer it. The answer is explained in here.

(delete-selection-mode 1)
like image 66
M.Rez Avatar answered Dec 31 '25 17:12

M.Rez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!