diff options
author | Guangxiong Lin <[email protected]> | 2021-08-25 21:06:59 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-08-25 21:06:59 +0800 |
commit | 6dd4eaa79f29acc0091f5c39631f02945d92e8cc (patch) | |
tree | 46b967dcc6ce6f46a3058fd6e6145f95bfb7e5f7 | |
parent | b899cd53ce108c5c70aad31124a8fe1ee004a0ff (diff) | |
download | dotfiles-6dd4eaa79f29acc0091f5c39631f02945d92e8cc.tar.gz dotfiles-6dd4eaa79f29acc0091f5c39631f02945d92e8cc.tar.bz2 dotfiles-6dd4eaa79f29acc0091f5c39631f02945d92e8cc.zip |
Add keybinding for emacs magit
-rw-r--r-- | .emacs.d/lisp/init-lang.el | 5 |
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) |