aboutsummaryrefslogtreecommitdiffstats
path: root/oni-magit.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-12-13 07:11:36 -0800
committerGravatar Tom Willemse2022-12-13 07:11:36 -0800
commit5f7a6b8dddbbff8f948c744226f1bae1c7076db5 (patch)
tree15b5a0e89e5a91d848df2a3e64c7a807497ecb2e /oni-magit.el
parent244c2797b8afde4bc4885bcd047f4ecffc9dde1c (diff)
downloademacs-config-5f7a6b8dddbbff8f948c744226f1bae1c7076db5.tar.gz
emacs-config-5f7a6b8dddbbff8f948c744226f1bae1c7076db5.zip
Give some keybindings (hopefully) more descriptive names
This style of keybinding helps ‘which-key’[1] to display a better name for the command. [1]: https://github.com/justbur/emacs-which-key
Diffstat (limited to 'oni-magit.el')
-rw-r--r--oni-magit.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/oni-magit.el b/oni-magit.el
index 8001404..fee0e68 100644
--- a/oni-magit.el
+++ b/oni-magit.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.1123.003600
+;; Version: 2022.1213.070733
;; Package-Requires: (magit magit-popup oni-hydra)
;; This program is free software; you can redistribute it and/or modify
@@ -60,7 +60,7 @@ _i_: Init
(setq magit-git-executable "c:/msys64/usr/bin/git.exe"))
;;;###autoload
-(global-set-key (kbd "C-c v") 'oni-hydra-magit/body)
+(global-set-key (kbd "C-c v") '("Magit commands" . oni-hydra-magit/body))
(provide 'oni-magit)
;;; oni-magit.el ends here