diff options
-rw-r--r-- | config.org | 6 |
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 |