aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-08-25 21:06:59 +0800
committerGuangxiong Lin <[email protected]>2021-08-25 21:06:59 +0800
commit6dd4eaa79f29acc0091f5c39631f02945d92e8cc (patch)
tree46b967dcc6ce6f46a3058fd6e6145f95bfb7e5f7
parentb899cd53ce108c5c70aad31124a8fe1ee004a0ff (diff)
downloaddotfiles-6dd4eaa79f29acc0091f5c39631f02945d92e8cc.tar.gz
dotfiles-6dd4eaa79f29acc0091f5c39631f02945d92e8cc.tar.bz2
dotfiles-6dd4eaa79f29acc0091f5c39631f02945d92e8cc.zip
Add keybinding for emacs magit
-rw-r--r--.emacs.d/lisp/init-lang.el5
1 files changed, 4 insertions, 1 deletions
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 "<leader>gs") 'magit))
(provide 'init-lang)