Improve default variable settings

This also fixes mu4e split view!
This commit is contained in:
Jeremy Dormitzer 2023-05-01 16:17:29 -04:00
parent b1052b4509
commit 1fc705df42
3 changed files with 15 additions and 12 deletions

View File

@ -59,4 +59,10 @@
:init
(general-def 'normal "zM" #'hs-hide-level))
(use-package man
:straight (:type built-in)
:commands (man)
:custom
(manual-program "gman"))
(provide 'init-built-ins)

View File

@ -10,17 +10,7 @@
(setq auto-save-file-name-transforms `((".*" ,autosave-directory t))
backup-directory-alist `(("." . ,backup-directory)))
;; Sensible variable defaults
(setq ring-bell-function 'ignore
enable-recursive-minibuffers t
read-process-output-max (* 1024 1024)
vc-follow-symlinks t
display-line-numbers-type 'visual
display-buffer-alist '((".*"
(display-buffer-reuse-window display-buffer-same-window)
(reusable-frames . t)))
even-window-sizes nil
manual-program "gman")
(setq read-process-output-max (* 1024 1024))
(setq-default indent-tabs-mode nil)
;; Always display line numbers in text/programming modes
@ -28,6 +18,12 @@
(add-hook 'text-mode-hook #'display-line-numbers-mode)
:custom
(require-final-newline t)
(tab-always-indent 'complete))
(tab-always-indent 'complete)
(ring-bell-function 'ignore)
(enable-recursive-minibuffers t)
(vc-follow-symlinks t)
(display-line-numbers-type 'visual)
(even-window-sizes nil))
(provide 'init-defaults)

View File

@ -17,6 +17,7 @@
user-mail-address "jeremy.dormitzer@gmail.com"
mu4e-view-show-images t
mu4e-headers-skip-duplicates t
mu4e-split-view 'horizontal
mail-user-agent 'mu4e-user-agent
;; Custom actions
mu4e-view-actions '(("capture message" . mu4e-action-capture-message)