doom: evil-snipe remapping, rust-setup, company-quickhelp
This commit is contained in:
@ -75,7 +75,7 @@
|
||||
|
||||
|
||||
;; Spell checking settings
|
||||
;; TODO make toggling of spell checking ('SPC t s') use flyspell-mode in text modes and flyspell-prog-mode in programming modes (see hooks below)
|
||||
;; TODO make toggling of spell checking ('SPC t s') use flyspell-mode in text modesm and flyspell-prog-mode in programming modes (see hooks below)
|
||||
;; Removing hooks for automatic spell checking set here: https://github.com/hlissner/doom-emacs/blob/develop/modules/checkers/spell/config.el
|
||||
(remove-hook! '(org-mode-hook
|
||||
markdown-mode-hook
|
||||
@ -104,6 +104,20 @@
|
||||
(message "Dictionary switched from %s to %s" dic change)
|
||||
))
|
||||
|
||||
(add-hook 'tetris-mode-hook #'turn-off-evil-mode)
|
||||
|
||||
;; Make sniping simpler for german keyboard
|
||||
(setq evil-snipe-scope 'visible)
|
||||
(map! :map evil-snipe-override-mode-map :m "," #'evil-snipe-repeat)
|
||||
(map! :map evil-snipe-override-mode-map :m ";" #'evil-snipe-repeat-reverse)
|
||||
(map! :map evil-snipe-parent-transient-map "," #'evil-snipe-repeat)
|
||||
(map! :map evil-snipe-parent-transient-map ";" #'evil-snipe-repeat-reverse)
|
||||
|
||||
;; (when evil-snipe-override-evil-repeat-keys
|
||||
;; (evil-define-key 'motion map
|
||||
;; "," 'evil-snipe-repeat
|
||||
;; ";" 'evil-snipe-repeat-reverse))
|
||||
|
||||
;; Python settings
|
||||
;; (add-hook 'python-mode-hook (lambda ()
|
||||
;; (setq flycheck-checker 'python-pylint)))
|
||||
@ -154,3 +168,6 @@
|
||||
((string= "Lu" first-char-prop) ; Upper case
|
||||
(downcase-region $p1 (+ $p1 1)))
|
||||
(t (message "Word does not start with a alphabetic character"))))))
|
||||
|
||||
;; Add company-quickhelp
|
||||
(company-quickhelp-mode)
|
||||
|
Reference in New Issue
Block a user