doom: evil-snipe remapping, rust-setup, company-quickhelp
This commit is contained in:
parent
215c2a1f63
commit
17b80372c8
@ -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)
|
||||
|
@ -158,7 +158,7 @@
|
||||
;;rest ; Emacs as a REST client
|
||||
;;rst ; ReST in peace
|
||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;(scheme +guile) ; a fully conniving family of lisps
|
||||
;;sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||
|
@ -9,6 +9,8 @@
|
||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||
;(package! some-package)
|
||||
|
||||
(package! company-quickhelp)
|
||||
|
||||
;; To install a package directly from a remote git repo, you must specify a
|
||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||
;; https://github.com/raxod502/straight.el#the-recipe-format
|
||||
|
Loading…
x
Reference in New Issue
Block a user