summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-12-26 00:50:50 +0100
committerLLoyderino <adrijan.bjedov@gmail.com>2025-12-26 00:50:50 +0100
commit560929769b0bfe097ca114a67c33b5db95b676dd (patch)
treec232deaa0d1b468f8867f5580e28fb2233a2b654
parent8363cc35727bc42b79bc11bef24cf78de60331d1 (diff)
Delete text when typing with a selection
-rw-r--r--init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.el b/init.el
index 15b7738..3b92b6f 100644
--- a/init.el
+++ b/init.el
@@ -56,6 +56,7 @@
(which-key-mode) ; Enable which-key (didn't know this is built-in now!)
+(delete-selection-mode 1)
(setq-default fill-column 94) ; Fill columns to half of my laptop's screen
(global-set-key (kbd "M-\\") #'just-one-space) ; Leave one space instead of killing all