Answers:
如果不使用来学习magit的捷径,这也是一种非常容易使用的技术hydra
。
(defhydra yt-hydra/help (:color blue :hint nil)
"
_mp_ magit-push #_mc_ magit-commit #_md_ magit diff #_mla_ magit diff #_mla_ magit status
"
;;Magit part
("mp" magit-push)
("mc" magit-commit)
("md" magit-diff)
("mla" magit-log-all)
("ms" magit-status)
)
(global-set-key (kbd "<f1>") 'yt-hydra/help/body)