From 3fbaf487183e7b7e3785628ab8ed6290ddd94fd7 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Sat, 3 Jul 2021 21:02:12 +0100 Subject: Update emacs prelude config --- emacs-prelude/personal/lisp/init-git.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 emacs-prelude/personal/lisp/init-git.el (limited to 'emacs-prelude/personal/lisp/init-git.el') diff --git a/emacs-prelude/personal/lisp/init-git.el b/emacs-prelude/personal/lisp/init-git.el new file mode 100644 index 0000000..5cb0b78 --- /dev/null +++ b/emacs-prelude/personal/lisp/init-git.el @@ -0,0 +1,15 @@ +(defun magit-set-upstream () + (interactive) + (magit-shell-command-topdir "git upstream")) + +(use-package magit + :after key-chord + :config + (key-chord-define-global "UU" 'magit-set-upstream)) +; :bind (("C-c g y" . magit-upstream))) ;; TODO + +(use-package forge + :after magit) + +(provide 'init-git) + -- cgit 1.4.1-2-gfad0