Created
January 7, 2018 16:37
-
-
Save gcentauri/7d0191311963802bd7847406b8aeb05d to your computer and use it in GitHub Desktop.
redefining xah command mode keys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my-command-mode () | |
(define-key xah-fly-key-map (kbd "p") nil) | |
;; (define-key xah-fly-key-map ...) | |
;; ... | |
) | |
(add-hook 'xah-fly-command-mode-activate-hook 'my-command-mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the form of that argument that I am setting to
nil
?from the documentation on
define-key
:It seems like what I want is to define a command that doesn't do anything.