[emacs] Bankruptcy
This commit is contained in:
@ -3,8 +3,6 @@
|
||||
(setq user-full-name "Colin Powell"
|
||||
user-mail-address "colin@unbl.ink")
|
||||
|
||||
(add-to-list 'load-path "~/.config/doom/")
|
||||
|
||||
(pixel-scroll-precision-mode t)
|
||||
(nyan-mode) ;; progress in the form of a rainbow cat.
|
||||
|
||||
@ -13,9 +11,20 @@
|
||||
doom-big-font (font-spec :family "Iosevka" :size 18 :weight 'regular)
|
||||
doom-variable-pitch-font (font-spec :family "Overpass" :size 12))
|
||||
|
||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||
(setq display-line-numbers-type t)
|
||||
|
||||
(add-hook 'after-init-hook #'global-emojify-mode) ;; emojis?!
|
||||
(add-hook 'prog-mode-hook #'goto-address-mode) ;; linify links!
|
||||
|
||||
(setq shell-file-name (executable-find "bash"))
|
||||
(setq-default vterm-shell (executable-find "fish"))
|
||||
(setq-default explicit-shell-file-name (executable-find "fish"))
|
||||
|
||||
;; change `org-directory'. It must be set before org loads!
|
||||
(setq org-directory "~/var/org/")
|
||||
|
||||
(map! ;; Easier window movement
|
||||
:n "C-h" 'evil-window-left
|
||||
:n "C-j" 'evil-window-down
|
||||
@ -43,14 +52,6 @@
|
||||
(file-notify-rm-watch key))
|
||||
file-notify-descriptors))
|
||||
|
||||
(setq +format-on-save-enabled-modes
|
||||
'(not
|
||||
emacs-lisp-mode ; elisp's mechanisms are good enough
|
||||
sql-mode ; sqlformat is currently broken
|
||||
tex-mode ; latexindent is broken
|
||||
org-mode
|
||||
html-mode
|
||||
latex-mode))
|
||||
|
||||
(setq frame-title-format
|
||||
'(""
|
||||
@ -65,7 +66,6 @@
|
||||
(unless (string= "-" project-name)
|
||||
(format (if (buffer-modified-p) " ◉ %s" " ● %s") project-name))))))
|
||||
|
||||
|
||||
(load! "+agenda-fix")
|
||||
(defun vulpea-agenda-files-update (&rest _)
|
||||
(setq org-agenda-files vulpea-project-files))
|
||||
@ -82,30 +82,6 @@
|
||||
(setq mm-text-html-renderer 'w3m)
|
||||
(setq w3m-fill-column 88)
|
||||
|
||||
(setq message-kill-buffer-on-exit t)
|
||||
(setq message-auto-save-directory "~/Mail/colin@unbl.ink/Drafts/")
|
||||
(setq message-directory "~/Mail/colin@unbl.ink/")
|
||||
|
||||
;; sendmail-program "/usr/local/bin/msmtpq" <--- this doesn't work as advertised right now
|
||||
(setq send-mail-function 'sendmail-send-it
|
||||
sendmail-program "/usr/local/bin/msmtp"
|
||||
mail-specify-envelope-from t
|
||||
message-sendmail-f-is-evil t
|
||||
message-sendmail-envelope-from 'header
|
||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||
mail-envelope-from 'header)
|
||||
|
||||
(after! notmuch
|
||||
(set-popup-rule! "^\\*notmuch*" :ignore t)
|
||||
)
|
||||
|
||||
(map! :leader
|
||||
(:prefix "e"
|
||||
:desc "(s)end queued mail" "s" #'smtpmail-send-queued-mail
|
||||
:desc "Open (i)nbox" "i" #'=notmuch
|
||||
:desc "Open (n)otmuch" "n" #'notmuch
|
||||
:desc "(C)ompose mail" "c" #'notmuch-mua-new-mail))
|
||||
|
||||
(after! eshell
|
||||
(set-eshell-alias!
|
||||
"djsh" "~/src/github.com/sureapp/surepreme/make shell"
|
||||
|
||||
Reference in New Issue
Block a user