diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/init.el b/init.el index eb4d635..f3851f8 100644 --- a/init.el +++ b/init.el | |||
@@ -133,6 +133,7 @@ | |||
133 | 'browse-url-mpv | 133 | 'browse-url-mpv |
134 | 'eww-browse-url)) | 134 | 'eww-browse-url)) |
135 | ("google\\.com" . browse-url-default-browser) | 135 | ("google\\.com" . browse-url-default-browser) |
136 | ("\\(twitter\\.com\\|t\\.co\\)" . acdw/eww-browse-twitter-url) | ||
136 | ("." . eww-browse-url))) | 137 | ("." . eww-browse-url))) |
137 | 138 | ||
138 | ;; Buttonize gemini:// links. | 139 | ;; Buttonize gemini:// links. |
@@ -320,7 +321,7 @@ | |||
320 | erc-kill-queries-on-quit t | 321 | erc-kill-queries-on-quit t |
321 | erc-kill-server-buffer-on-quit t | 322 | erc-kill-server-buffer-on-quit t |
322 | erc-nick "acdw" | 323 | erc-nick "acdw" |
323 | erc-nick-truncate (- erc-fill-static-center 2) | 324 | erc-nick-truncate (- erc-fill-static-center 1) |
324 | erc-prompt (lambda () (acdw-erc/prompt)) | 325 | erc-prompt (lambda () (acdw-erc/prompt)) |
325 | erc-prompt-for-password nil ; use ~/.authinfo | 326 | erc-prompt-for-password nil ; use ~/.authinfo |
326 | erc-rename-buffers t | 327 | erc-rename-buffers t |
@@ -1167,7 +1168,8 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1167 | "<S-return>" acdw-org/org-table-copy-down | 1168 | "<S-return>" acdw-org/org-table-copy-down |
1168 | "M-SPC M-SPC" insert-zero-width-space | 1169 | "M-SPC M-SPC" insert-zero-width-space |
1169 | "C-c C-l" org-insert-link-dwim | 1170 | "C-c C-l" org-insert-link-dwim |
1170 | "M-w" kill-ring-save-unfilled) | 1171 | "M-w" kill-ring-save-unfilled |
1172 | "M-=" acdw-org/count-words-stupidly) | ||
1171 | 1173 | ||
1172 | (with-eval-after-load 'org-export | 1174 | (with-eval-after-load 'org-export |
1173 | (add-to-list 'org-export-filter-final-output-functions | 1175 | (add-to-list 'org-export-filter-final-output-functions |
@@ -1216,9 +1218,8 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1216 | 1218 | ||
1217 | (setup (:straight simple-modeline) | 1219 | (setup (:straight simple-modeline) |
1218 | (setup (:straight minions)) | 1220 | (setup (:straight minions)) |
1221 | (require 'acdw-modeline) | ||
1219 | (:option | 1222 | (:option |
1220 | ;; `acdw-org/count-words' is too slow to use in the modeline. | ||
1221 | ;; (prepend acdw-modeline/word-count-modes) '(org-mode . acdw-org/count-words) | ||
1222 | simple-modeline-segments '((acdw-modeline/modified | 1223 | simple-modeline-segments '((acdw-modeline/modified |
1223 | acdw-modeline/buffer-name | 1224 | acdw-modeline/buffer-name |
1224 | acdw-modeline/vc-branch | 1225 | acdw-modeline/vc-branch |
@@ -1232,8 +1233,6 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1232 | acdw-modeline/winum | 1233 | acdw-modeline/winum |
1233 | acdw-modeline/minions | 1234 | acdw-modeline/minions |
1234 | simple-modeline-segment-major-mode))) | 1235 | simple-modeline-segment-major-mode))) |
1235 | |||
1236 | (require 'acdw-modeline) | ||
1237 | (simple-modeline-mode +1)) | 1236 | (simple-modeline-mode +1)) |
1238 | 1237 | ||
1239 | (setup (:straight sly) | 1238 | (setup (:straight sly) |