Compare commits

..

No commits in common. "ea8d6bfe57054b1e932b146eca99b1eff5f30bab" and "5e54de5f92ac842d9c616d6a8d279bad16081fd8" have entirely different histories.

33
init.el
View File

@ -48,7 +48,9 @@
(use-package emacs
:hook (;;(emacs-lisp-mode . my/-emacs-lisp-mode-setup-evil-lookup)
;;(prog-mode . electric-pair-local-mode)
((text-mode message-mode tex-mode prog-mode) . auto-fill-mode))
((text-mode message-mode tex-mode) . flyspell-mode)
((text-mode message-mode tex-mode prog-mode) . auto-fill-mode)
(prog-mode . flyspell-prog-mode))
:init
;; (defun my/-emacs-lisp-mode-setup-evil-lookup ()
;; (setq-local evil-lookup-func
@ -205,23 +207,13 @@ Interactively, force the recompile if called with a prefix."
(tab-bar-mode 1))
;; flyspell
;; (use-package flyspell
;; :hook
;; (((text-mode message-mode tex-mode) . flyspell-mode)
;; (prog-mode . flyspell-prog-mode))
;; :config
;; (setq ispell-program-name "hunspell"
;; flyspell-issue-message-flag nil
;; flyspell-issue-welcome-flag nil)
;; (define-key flyspell-mode-map (kbd "C-;") nil t)
;; (define-key flyspell-mode-map (kbd "C-,") nil t))
;; jinx (better flyspell)
(use-package jinx
:hook (emacs-startup . global-jinx-mode)
(use-package flyspell
:config
(evil-define-key 'normal 'global
"z=" #'jinx-correct))
(setq ispell-program-name "hunspell"
flyspell-issue-message-flag nil
flyspell-issue-welcome-flag nil)
(define-key flyspell-mode-map (kbd "C-;") nil t)
(define-key flyspell-mode-map (kbd "C-,") nil t))
;; recentf
(use-package recentf
@ -456,12 +448,7 @@ visual states."
minibuffer-prompt-properties '(read-only t
cursor-intangible t
face minibuffer-prompt))
(vertico-mode 1)
;; for jinx
(require 'vertico-multiform)
(add-to-list 'vertico-multiform-categories
'(jinx grid (vertico-grid-annotate . 20)))
(vertico-multiform-mode 1))
(vertico-mode 1))
;; orderless
(use-package orderless