Consolidate Racket KBDs
Instead of three separate `general-define-key` statements consolidate all three. I'm not sure I was aware of this feature of general when I originally defined all three keybindings.
This commit is contained in:
parent
595280690c
commit
92f5773421
1 changed files with 2 additions and 10 deletions
|
@ -36,16 +36,8 @@
|
||||||
:keymaps 'racket-mode-map
|
:keymaps 'racket-mode-map
|
||||||
:states 'normal
|
:states 'normal
|
||||||
:prefix "<SPC>"
|
:prefix "<SPC>"
|
||||||
"x" #'racket-send-definition)
|
"x" #'racket-send-definition
|
||||||
(general-define-key
|
"X" #'racket-run
|
||||||
:keymaps 'racket-mode-map
|
|
||||||
:states 'normal
|
|
||||||
:prefix "<SPC>"
|
|
||||||
"X" #'racket-run)
|
|
||||||
(general-define-key
|
|
||||||
:keymaps 'racket-mode-map
|
|
||||||
:states 'normal
|
|
||||||
:prefix "<SPC>"
|
|
||||||
"d" #'racket-describe)
|
"d" #'racket-describe)
|
||||||
(setq racket-program "~/.nix-profile/bin/racket"))
|
(setq racket-program "~/.nix-profile/bin/racket"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue