diff options
author | bd <bdunahu@colostate.edu> | 2024-01-22 00:02:16 -0700 |
---|---|---|
committer | bd <bdunahu@colostate.edu> | 2024-01-22 00:02:16 -0700 |
commit | d0540e3258368c425336bb5585b10ace48bdb6c0 (patch) | |
tree | fd52853aebfc524bc83ceb3d8700edc426e61107 /.config/emacs/modules/bd--essentials.el | |
parent | 46a56735b973e7046ae4bd4f51cbc94c4b0c56b3 (diff) |
Disabled unnecessary keybinding to quit emacs
Diffstat (limited to '.config/emacs/modules/bd--essentials.el')
-rw-r--r-- | .config/emacs/modules/bd--essentials.el | 11 |
1 files changed, 7 insertions, 4 deletions
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) |