From 6dd4eaa79f29acc0091f5c39631f02945d92e8cc Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 25 Aug 2021 21:06:59 +0800 Subject: Add keybinding for emacs magit --- .emacs.d/lisp/init-lang.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp/init-lang.el') diff --git a/.emacs.d/lisp/init-lang.el b/.emacs.d/lisp/init-lang.el index 563ebf4..b6cf85f 100644 --- a/.emacs.d/lisp/init-lang.el +++ b/.emacs.d/lisp/init-lang.el @@ -27,6 +27,9 @@ ((go-mode . eglot-ensure))) (use-package magit - :ensure t) + :ensure t + :config + (evil-define-key 'normal 'global + (kbd "gs") 'magit)) (provide 'init-lang) -- cgit v1.2.3