diff options
Diffstat (limited to '')
-rw-r--r-- | configs/rcs/emacs.d/init.el | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el index cce1320..945c07e 100644 --- a/configs/rcs/emacs.d/init.el +++ b/configs/rcs/emacs.d/init.el @@ -199,7 +199,15 @@ ispell-list-command "--list"))) (use-package flyspell-correct - :after (flyspell)) + :after (flyspell) + :commands (flyspell-correct-word-generic + flyspell-correct-previous-word-generic) + :bind (:map flyspell-mode-map + ("C-;" . flyspell-correct-previous-word-generic))) + +(use-package flyspell-correct-ivy + :commands (flyspell-correct-ivy) + :init (setq flyspell-correct-interface #'flyspell-correct-ivy)) (use-package whitespace :custom @@ -223,8 +231,9 @@ (use-package magit :after (flyspell) :hook ((magit-mode . hl-line-mode)) - :bind (("C-x g" . magit-status)) + :bind (("C-x g s" . magit-status)) :config + (setq magit-completing-read-function 'ivy-completing-read) (setq git-commit-summary-max-length 50) (setq git-commit-fill-column 72) (setq git-commit-turn-on-auto-fill t)) @@ -250,7 +259,6 @@ (counsel-projectile-mode))) (use-package projectile - :diminish projectile-mode :bind-keymap ("C-c p" . projectile-command-map) :init (add-hook 'after-init-hook #'projectile-mode) |