Set text-mode for qutebrowser editor
This commit is contained in:
parent
ad9a06ebc9
commit
2614eb1f3d
3
init.el
3
init.el
|
@ -394,7 +394,6 @@
|
|||
(use-package org
|
||||
:mode ("\\.org$" . org-mode)
|
||||
:hook ((org-mode . org-indent-mode)
|
||||
(org-mode . flyspell-mode)
|
||||
(org-mode . auto-fill-mode)
|
||||
(org-mode . set-text-modes-font))
|
||||
:custom
|
||||
|
@ -545,6 +544,7 @@
|
|||
|
||||
(use-package flyspell
|
||||
:ensure nil
|
||||
:hook (org-mode text-mode)
|
||||
:bind (:map flyspell-mode-map
|
||||
("C-:" . flyspell-auto-correct-previous-word)))
|
||||
|
||||
|
@ -651,6 +651,7 @@
|
|||
|
||||
(add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode))
|
||||
(add-to-list 'auto-mode-alist '("flake\\.lock\\'" . js-json-mode))
|
||||
(add-to-list 'auto-mode-alist '("/qutebrowser-editor-" . text-mode) t)
|
||||
|
||||
(when (daemonp)
|
||||
(with-current-buffer "*scratch*"
|
||||
|
|
Loading…
Reference in a new issue