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:
William Carroll 2020-01-22 21:08:39 +00:00
parent 595280690c
commit 92f5773421

View file

@ -36,16 +36,8 @@
:keymaps 'racket-mode-map
:states 'normal
:prefix "<SPC>"
"x" #'racket-send-definition)
(general-define-key
:keymaps 'racket-mode-map
:states 'normal
:prefix "<SPC>"
"X" #'racket-run)
(general-define-key
:keymaps 'racket-mode-map
:states 'normal
:prefix "<SPC>"
"x" #'racket-send-definition
"X" #'racket-run
"d" #'racket-describe)
(setq racket-program "~/.nix-profile/bin/racket"))