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:
@@ -12,14 +12,15 @@
|
||||
(use-package dap-mode
|
||||
:defer t
|
||||
|
||||
:bind (:map siren-debug-map
|
||||
("d" . dap-debug)
|
||||
("t" . dap-breakpoint-toggle)
|
||||
("c" . dap-breakpoint-condition)
|
||||
("h" . dap-breakpoint-hit-condition)
|
||||
("m" . dap-breakpoint-log-message)
|
||||
("l" . dap-ui-breakpoints-list)
|
||||
("b" . dap-ui-breakpoints))
|
||||
:general
|
||||
(:keymaps 'siren-debug-map
|
||||
"d" 'dap-debug
|
||||
"t" 'dap-breakpoint-toggle
|
||||
"c" 'dap-breakpoint-condition
|
||||
"h" 'dap-breakpoint-hit-condition
|
||||
"m" 'dap-breakpoint-log-message
|
||||
"l" 'dap-ui-breakpoints-list
|
||||
"b" 'dap-ui-breakpoints)
|
||||
|
||||
:custom
|
||||
(dap-auto-configure-features '(sessions locals controls tooltip))
|
||||
|
||||
@@ -7,13 +7,8 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(use-package siren-debug-map
|
||||
:straight (:type built-in)
|
||||
:no-require t
|
||||
|
||||
:bind
|
||||
(:prefix-map siren-debug-map
|
||||
:prefix "C-c -"))
|
||||
(define-prefix-command 'siren-debug-map)
|
||||
(general-define-key "C-c -" 'siren-debug-map)
|
||||
|
||||
(provide 'siren-debug-map)
|
||||
;;; siren-debug-map.el ends here
|
||||
|
||||
Reference in New Issue
Block a user