aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-git.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-git.el')
-rw-r--r--.emacs.d/lisp/init-git.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-git.el b/.emacs.d/lisp/init-git.el
new file mode 100644
index 0000000..c903636
--- /dev/null
+++ b/.emacs.d/lisp/init-git.el
@@ -0,0 +1,9 @@
+(use-package magit :ensure t :defer t)
+
+(with-eval-after-load 'evil
+ (evil-define-key 'normal 'global
+ (kbd "<leader>gs") 'magit))
+
+(setq magit-refresh-status-buffer nil)
+
+(provide 'init-git)