Move evil & corrective keybinds to respective modules

Keybinds that correct behavior or provide or extend vim functionality
were moved to their respective modules, or to the :editor evil module.

Keybinds in the global space, that are particularly opinionated but
potentially harmful or imposing as a default, or likely for users to
change (like leader keys), are kept in config/default.
This commit is contained in:
Henrik Lissner 2019-10-26 21:34:44 -04:00
parent c360f0dceb
commit 3c6f48f9ec
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 479 additions and 508 deletions

View file

@ -71,7 +71,16 @@
;; Replace commands with superior alternatives
(define-key! yas-minor-mode-map
[remap yas-new-snippet] #'+snippets/new
[remap yas-visit-snippet-file] #'+snippets/edit))
[remap yas-visit-snippet-file] #'+snippets/edit)
(map! :map yas-keymap
"C-e" #'+snippets/goto-end-of-field
"C-a" #'+snippets/goto-start-of-field
[M-right] #'+snippets/goto-end-of-field
[M-left] #'+snippets/goto-start-of-field
[M-backspace] #'+snippets/delete-to-start-of-field
[backspace] #'+snippets/delete-backward-char
[delete] #'+snippets/delete-forward-char-or-field))
(use-package! auto-yasnippet