mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user