diff --git a/thoom-emacs/ThoomEmacs.org b/thoom-emacs/ThoomEmacs.org index 168b284..3231690 100644 --- a/thoom-emacs/ThoomEmacs.org +++ b/thoom-emacs/ThoomEmacs.org @@ -188,6 +188,10 @@ Set a location for the custom file so it doesn't pollute this file. ("C-c b n" . next-buffer) ("C-c b C-c" . server-edit) + ;; Magit + ("C-c g g" . magit-status) + ;; TODO - C-c g p for open project in magit + ("C-o" . pop-global-mark) ("M-DEL" . backward-kill-word) ("C-:" . execute-extended-command-for-buffer))) @@ -557,8 +561,11 @@ When in indent-rigidly mode (=+= in normal state), use =H/L= to adjust indent by (embark-collect-mode . consult-preview-at-point-mode)) #+end_src -* TODO Git - +* Git +#+begin_src emacs-lisp +(use-package magit + :straight t) +#+end_src * TODO Direnv * Programming diff --git a/thoom-emacs/init.el b/thoom-emacs/init.el index c2d1f72..dff063b 100644 --- a/thoom-emacs/init.el +++ b/thoom-emacs/init.el @@ -143,6 +143,10 @@ ("C-c b n" . next-buffer) ("C-c b C-c" . server-edit) + ;; Magit + ("C-c g g" . magit-status) + ;; TODO - C-c g p for open project in magit + ("C-o" . pop-global-mark) ("M-DEL" . backward-kill-word) ("C-:" . execute-extended-command-for-buffer))) @@ -487,3 +491,6 @@ ;; auto-updating embark collect buffer :hook (embark-collect-mode . consult-preview-at-point-mode)) + +(use-package magit + :straight t)