Add a file for spellecheck settings
This commit is contained in:
parent
d7475900c9
commit
87f7dc4d5e
|
@ -45,30 +45,6 @@
|
|||
("a" ace-window "Ace")
|
||||
("S" toggle-window-split "Toggle Split"))
|
||||
|
||||
;https://www.reddit.com/r/emacs/comments/931la6/tip_how_to_adopt_flycheck_as_your_new_best_friend/
|
||||
(defhydra hydra-flycheck (:color blue)
|
||||
"
|
||||
^
|
||||
^Flycheck^ ^Errors^ ^Checker^
|
||||
^────────^──────────^──────^────────────^───────^─────
|
||||
_q_ quit _<_ previous _?_ describe
|
||||
_M_ manual _>_ next _d_ disable
|
||||
_v_ verify setup _f_ check _m_ mode
|
||||
^^ _l_ list _s_ select
|
||||
^^ ^^ ^^
|
||||
"
|
||||
("q" nil)
|
||||
("<" flycheck-previous-error :color pink)
|
||||
(">" flycheck-next-error :color pink)
|
||||
("?" flycheck-describe-checker)
|
||||
("M" flycheck-manual)
|
||||
("d" flycheck-disable-checker)
|
||||
("f" flycheck-buffer)
|
||||
("l" flycheck-list-errors)
|
||||
("m" flycheck-mode)
|
||||
("s" flycheck-select-checker)
|
||||
("v" flycheck-verify-setup))
|
||||
|
||||
(defhydra hydra-ediff (:color blue :columns 3)
|
||||
"
|
||||
Ediff :
|
||||
|
|
|
@ -37,9 +37,6 @@
|
|||
:defer t
|
||||
:ensure t)
|
||||
|
||||
(use-package flycheck
|
||||
:ensure t)
|
||||
|
||||
(use-package highlight-indent-guides
|
||||
:ensure t
|
||||
:config
|
||||
|
@ -891,14 +888,6 @@
|
|||
; Calender should start on Monday
|
||||
(setq calendar-week-start-day 1)
|
||||
|
||||
;; ispell settings
|
||||
(setenv "DICTIONARY" "en_US")
|
||||
(setq ispell-program-name "hunspell")
|
||||
(setq ispell-local-dictionary "en_US")
|
||||
(setq ispell-local-dictionary-alist
|
||||
'(("en_US" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US") nil utf-8)
|
||||
("de_CH" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_CH") nil utf-8)))
|
||||
|
||||
;; insert only one space after a period
|
||||
(setq sentence-end-double-space nil)
|
||||
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
(use-package flycheck
|
||||
:ensure t)
|
||||
|
||||
;; https://www.reddit.com/r/emacs/comments/931la6/tip_how_to_adopt_flycheck_as_your_new_best_friend/
|
||||
(defhydra hydra-flycheck (:color blue)
|
||||
"
|
||||
^
|
||||
^Flycheck^ ^Errors^ ^Checker^
|
||||
^────────^──────────^──────^────────────^───────^─────
|
||||
_q_ quit _<_ previous _?_ describe
|
||||
_M_ manual _>_ next _d_ disable
|
||||
_v_ verify setup _f_ check _m_ mode
|
||||
^^ _l_ list _s_ select
|
||||
^^ ^^ ^^
|
||||
"
|
||||
("q" nil)
|
||||
("<" flycheck-previous-error :color pink)
|
||||
(">" flycheck-next-error :color pink)
|
||||
("?" flycheck-describe-checker)
|
||||
("M" flycheck-manual)
|
||||
("d" flycheck-disable-checker)
|
||||
("f" flycheck-buffer)
|
||||
("l" flycheck-list-errors)
|
||||
("m" flycheck-mode)
|
||||
("s" flycheck-select-checker)
|
||||
("v" flycheck-verify-setup))
|
||||
|
||||
;; ispell settings
|
||||
(setenv "DICTIONARY" "en_US")
|
||||
(setq ispell-program-name "hunspell")
|
||||
(setq ispell-local-dictionary "en_US")
|
||||
(setq ispell-local-dictionary-alist
|
||||
'(("en_US" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US") nil utf-8)
|
||||
("de_CH" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_CH") nil utf-8)))
|
|
@ -14,6 +14,7 @@
|
|||
(load-file (config-path "latex.el"))
|
||||
(load-file (config-path "markdown.el"))
|
||||
(load-file (config-path "pdf_tools.el"))
|
||||
(load-file (config-path "spellcheck.el"))
|
||||
|
||||
;; org-mode
|
||||
(load-file (config-path "org_insert.el"))
|
||||
|
|
Loading…
Reference in New Issue