feat(core): use general.el for keybind definitions nearly everywhere

Primarily this replaces :bind with :general in all use-package calls.
This commit is contained in:
2022-03-14 20:58:06 +00:00
parent 3fc0d2d77d
commit a8618938bf
91 changed files with 665 additions and 632 deletions

View File

@@ -7,9 +7,9 @@
;;; Code:
(use-package dash-at-point
:bind
("C-c d" . dash-at-point)
("C-c e" . dash-at-point-with-docset))
:general
("C-c d" 'dash-at-point)
("C-c e" 'dash-at-point-with-docset))
(provide 'siren-dash-at-point)
;;; siren-dash-at-point.el ends here

View File

@@ -7,14 +7,14 @@
;;; Code:
(use-package helpful
:bind
("C-h k" . helpful-key)
("C-h f" . helpful-callable)
("C-h v" . helpful-variable)
("C-h C" . helpful-command)
("C-h F" . helpful-function)
(:map emacs-lisp-mode-map
("C-c C-d" . helpful-at-point))
:general
("C-h k" 'helpful-key)
("C-h f" 'helpful-callable)
("C-h v" 'helpful-variable)
("C-h C" 'helpful-command)
("C-h F" 'helpful-function)
(:keymaps 'emacs-lisp-mode-map
"C-c C-d" 'helpful-at-point)
:custom
(helm-describe-function-function 'helpful-function)