summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-04-09 11:54:09 +0100
committerYann Herklotz <git@yannherklotz.com>2023-04-09 11:54:09 +0100
commita5aec9e8e8a4ddf143bb5a21182c6945b3f3d08f (patch)
tree62f3ad1440d53e8b512f3161da3ad58be2f11f83
parent945105e5d3b3149147da880df75ba3d839987f55 (diff)
downloadymh-emacs-a5aec9e8e8a4ddf143bb5a21182c6945b3f3d08f.tar.gz
ymh-emacs-a5aec9e8e8a4ddf143bb5a21182c6945b3f3d08f.zip
Add circe and small tweaks
-rw-r--r--init.el28
1 files changed, 27 insertions, 1 deletions
diff --git a/init.el b/init.el
index ab13844..b1061da 100644
--- a/init.el
+++ b/init.el
@@ -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)