feature/spellcheck: don't auto-enable spellcheck + <leader>ts binding
This commit is contained in:
parent
568a7478b1
commit
1b32aac0a5
2 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
(def-package! flyspell ; built-in
|
(def-package! flyspell ; built-in
|
||||||
:commands flyspell-mode
|
:commands flyspell-mode
|
||||||
:init
|
|
||||||
(add-hook 'text-mode-hook 'flyspell-mode)
|
|
||||||
:config
|
:config
|
||||||
(setq ispell-program-name (executable-find "aspell")
|
(setq ispell-program-name (executable-find "aspell")
|
||||||
ispell-list-command "--list"
|
ispell-list-command "--list"
|
||||||
|
|
|
@ -102,6 +102,7 @@
|
||||||
|
|
||||||
(:desc "Toggle"
|
(:desc "Toggle"
|
||||||
:prefix "t"
|
:prefix "t"
|
||||||
|
:desc "Spell check" :n "s" 'flyspell-mode
|
||||||
:desc "Line numbers" :n "l" 'doom/toggle-line-numbers
|
:desc "Line numbers" :n "l" 'doom/toggle-line-numbers
|
||||||
:desc "Fullscreen" :n "f" 'doom/toggle-fullscreen)
|
:desc "Fullscreen" :n "f" 'doom/toggle-fullscreen)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue