diff options
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/init.el | 2 | ||||
-rw-r--r-- | .config/emacs/modules/bd--essentials.el | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 10bc83b..c655ca2 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -17,6 +17,8 @@ ;;;; path (setenv "PATH" (format "%s:%s" (expand-file-name "~/Personal/scripts/") (getenv "PATH"))) +;;;; warnings +(setopt warning-minimum-level :error) ;;;; configure packages ;; external package manager 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) |