summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-23 00:49:37 +0000
committernoa@gaiwan.org2024-06-23 00:49:37 +0000
commitdd5bbac1e3f55c428ca89364bcafc3f6960dede8 (patch)
tree19fb11f73132c20532f6a5a59ac05c7453f94951
parent5f675b5d82b96a6fd84a5d881db12644796721b5 (diff)
Remove moved abbrev configuration
-rw-r--r--config.org6
1 files changed, 0 insertions, 6 deletions
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