diff options
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el index f7cd0b4..5934c45 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -517,9 +517,9 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." ;; Goto address mode makes urls and email address in a buffer clickable. I want these clickable links to look like links, because that's what they are. The two mouse face variables are what face is used on hover, which at the moment i ignore. It might also be worth setting them to 'highlight. (setopt global-goto-address-mode t) (setopt goto-address-mail-face 'link) -(setopt goto-address-mail-mouse-face 'link) +(setopt goto-address-mail-mouse-face 'highlight) (setopt goto-address-url-face 'link) -(setopt goto-address-url-mouse-face 'link) +(setopt goto-address-url-mouse-face 'highlight) ;; 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) |