From dd5bbac1e3f55c428ca89364bcafc3f6960dede8 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 23 Jun 2024 00:49:37 +0000 Subject: Remove moved abbrev configuration --- config.org | 6 ------ 1 file changed, 6 deletions(-) (limited to 'config.org') diff --git a/config.org b/config.org index 1e5d084..6a767b9 100644 --- a/config.org +++ b/config.org @@ -880,12 +880,6 @@ Goto address mode makes urls and email address in a buffer clickable. I want th (setopt goto-address-url-mouse-face 'highlight) #+end_src -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. - -#+begin_src elisp -(add-hook 'text-mode-hook #'abbrev-mode) -#+end_src - #+begin_src elisp (setopt global-eldoc-mode t) #+end_src -- cgit 1.4.1-2-gfad0