Fix delete-selection-mode setting.

This commit is contained in:
Tom Alexander 2023-09-27 15:01:43 -04:00
parent 6f3c5ca025
commit c2a0f90b4f
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 5 additions and 2 deletions

View File

@ -53,16 +53,19 @@
use-short-answers t use-short-answers t
;; Natively compile packages ;; Natively compile packages
package-native-compile t package-native-compile t
;; Typed text replaces selection
delete-selection-mode t
;; Confirm when opening a file that does not exist ;; Confirm when opening a file that does not exist
confirm-nonexistent-file-or-buffer t confirm-nonexistent-file-or-buffer t
) )
;; (setq-default fringes-outside-margins t) ;; (setq-default fringes-outside-margins t)
;; Per-pixel scrolling instead of per-line
(pixel-scroll-precision-mode) (pixel-scroll-precision-mode)
;; Typed text replaces selection
(delete-selection-mode)
;; Delete trailing whitespace before save ;; Delete trailing whitespace before save
(add-hook 'before-save-hook 'delete-trailing-whitespace) (add-hook 'before-save-hook 'delete-trailing-whitespace)