diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-07-03 21:02:12 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-07-03 21:02:12 +0100 |
commit | 3fbaf487183e7b7e3785628ab8ed6290ddd94fd7 (patch) | |
tree | 10c7e584e5b1e054dea84dd4d8fa8c397f0a1519 /emacs-prelude/personal/lisp/init-git.el | |
parent | b5e8c2052c43e9865aad35380ff0b36cabae19d2 (diff) | |
download | dotfiles-3fbaf487183e7b7e3785628ab8ed6290ddd94fd7.tar.gz |
Update emacs prelude config
Diffstat (limited to 'emacs-prelude/personal/lisp/init-git.el')
-rw-r--r-- | emacs-prelude/personal/lisp/init-git.el | 15 |
1 files changed, 15 insertions, 0 deletions
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) + |