From 5f7a6b8dddbbff8f948c744226f1bae1c7076db5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 13 Dec 2022 07:11:36 -0800 Subject: 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 --- oni-magit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oni-magit.el') 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 ;; 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 -- cgit v1.2.3-54-g00ecf