From d0540e3258368c425336bb5585b10ace48bdb6c0 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 22 Jan 2024 00:02:16 -0700 Subject: Disabled unnecessary keybinding to quit emacs --- .config/emacs/modules/bd--essentials.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '.config/emacs/modules') diff --git a/.config/emacs/modules/bd--essentials.el b/.config/emacs/modules/bd--essentials.el index 8d8aff5..483fd25 100644 --- a/.config/emacs/modules/bd--essentials.el +++ b/.config/emacs/modules/bd--essentials.el @@ -2,9 +2,10 @@ ;;;; standard bindings -;; both of these are bad--especially in exwm -(global-unset-key (kbd "C-z")) -(global-unset-key (kbd "C-x C-z")) +(keymap-global-unset "C-z") +(keymap-global-unset "C-x C-z") +;; the binding to quit emacs +(keymap-global-unset "C-x C-c") (global-set-key (kbd "C-z =") 'text-scale-increase) (global-set-key (kbd "C-z -") 'text-scale-decrease) @@ -16,7 +17,8 @@ ;;;; defaults ;; basic editing -(setopt kill-whole-line t) +(setopt kill-whole-line t + sentence-end-double-space nil) (global-hl-line-mode 1) (global-visual-line-mode t) @@ -38,6 +40,7 @@ on save." ;;;; buffers (global-auto-revert-mode 1) +(setopt global-auto-revert-non-file-buffers t) (winner-mode 1) (setopt scroll-up-aggressively '0.65 scroll-down-aggressively '0.65) -- cgit v1.2.3