From 304279ebca695e7aab974e1bc2c175be7ba4e714 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Thu, 20 Apr 2023 14:50:17 -0400 Subject: Delete selected text when typing over it --- init.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init.el b/init.el index 460bd11..806c409 100644 --- a/init.el +++ b/init.el @@ -129,6 +129,16 @@ (global-visual-line-mode) +;; --------------------------------- +;; Type over selected text +;; ----------------------- +;; Typing over selected text should +;; delete the selected text +;; --------------------------------- + +(delete-selection-mode t) + + ;; --------------------------------------------------------------------- -- cgit v1.2.3