diff options
-rw-r--r-- | init.el | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -83,6 +83,7 @@ Should be one of `:white-split', `:modified' or `:default'") (use-package emacs :init + (setq native-comp-async-report-warnings-errors nil) (setq gnus-init-file (expand-file-name "gnus.el" user-emacs-directory)) (setq-default fill-column 80) @@ -90,6 +91,10 @@ Should be one of `:white-split', `:modified' or `:default'") (setq completion-cycle-threshold 3) (setq tab-always-indent 'complete) + (if ymh/macos-p + (setq shell-file-name "/usr/local/bin/fish") + (setq shell-file-name "/usr/bin/fish")) + (setq use-short-answers t) (setq inhibit-startup-message t) (setq confirm-nonexistent-file-or-buffer nil) @@ -417,7 +422,9 @@ https://yannherklotz.com")) ("g" . password-store-generate))) (use-package magit - :ensure t) + :ensure t + :init + (setq magit-diff-refine-hunk t)) (use-package org :init @@ -1100,6 +1107,25 @@ https://yannherklotz.com")) :ensure t :hook (org-mode . org-pdftools-setup-link)) +(use-package circe + :ensure t + :init + (setq circe-network-options + `(("Sourcehut Chat" + :host "chat.sr.ht" + :port 6697 + :use-tls t + :user "ymherklotz/irc.libera.chat" + :nick "ymherklotz" + :sasl-username "ymherklotz" + :sasl-password ,(ymh/pass "sr.ht/chat.sr.ht") + ))) + (setq circe-color-nicks-everywhere t) + (setq circe-reduce-lurker-spam t) + (setq circe-active-users-timeout 300) + :config + (enable-circe-color-nicks)) + (use-package flymake :bind (:map flymake-mode-map ("C-c f n" . flymake-goto-next-error) |