diff options
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/emacs/init.el b/emacs/init.el index 1ec27db..1b01a16 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -36,11 +36,6 @@ cursor-type 'bar minibuffer-depth-indicate-mode t) -(setopt - url-cookie-trusted-urls '() - url-cookie-untrusted-urls '(".*")) - - ;;; candidate completion (use-package vertico :ensure t @@ -138,9 +133,7 @@ and when JID is not in `jabber-activity-banned'." :ensure t :mode ("\\.epub\\'" . nov-mode)) -(use-package shr - :custom - (shr-max-width nil)) + ;; also check out jinx https://github.com/minad/jinx (use-package spell-fu @@ -449,9 +442,10 @@ and when JID is not in `jabber-activity-banned'." ) ) -(use-package eww - :custom - (browse-url-browser-function 'eww-browse-url)) +(setopt browse-url-browser-function 'eww-browse-url + url-cookie-trusted-urls '() + url-cookie-untrusted-urls '(".*") + shr-max-width nil) ;; Abbrev mode expands one string into another string. I use it as a simple autocorrect mode. If i misspell a word, i run C-x a i g which will prompt me for what to expand the previous word into. I type the correct spelling, and whenever i make that mistake again, it will automatically be corrected. It's important to be careful not to set something that could be a typo for two words though, because otherwise it gets even more annoying. Luckily it's easy to update the abbrevs which are stored in ~/.config/emacs/abbrev_defs. M-x list-abbrevs is also a nice command which shows all the saved abbrevs and how many times they've been expanded. (add-hook 'text-mode-hook #'abbrev-mode) |