From 8e3d3480f13c986397ef33fb5651557882b91f29 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 30 Aug 2021 08:51:46 -0500 Subject: Make mastodon-mode better --- init.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index e17687f..aaa6c13 100644 --- a/init.el +++ b/init.el @@ -1020,8 +1020,7 @@ like a dumbass." kill-read-only-ok t load-prefer-newer t native-comp-async-report-warnings-errors nil - set-mark-command-repeat-pop t - ) + set-mark-command-repeat-pop t) (when (fboundp 'command-completion-default-include-p) (setq read-extended-command-predicate @@ -1118,6 +1117,8 @@ like a dumbass." (define-key gnus-article-mode-map key #'ace-link-gnus)) (with-eval-after-load 'ert (define-key ert-results-mode-map "o" #'ace-link-help)) + (with-eval-after-load 'mastodon + (define-key mastodon-mode-map "o" #'ace-link-addr)) ;; And still everything else (setq ace-link-fallback-function #'ace-link-addr) (global-set-key key #'ace-link))) @@ -1579,7 +1580,9 @@ successive invocations." (:straight request) (:option mastodon-instance-url "https://writing.exchange" mastodon-auth-source-file (car auth-sources) - mastodon-client--token-file (acdw/dir "mastodon.plstore"))) + mastodon-client--token-file (acdw/dir "mastodon.plstore")) + (:hook hl-line-mode + olivetti-mode)) (setup (:straight (modus-themes :host gitlab -- cgit 1.4.1-21-gabe81