Install magit

This commit is contained in:
2022-10-09 23:57:09 -07:00
parent 08c40b3014
commit d1a5a49114
2 changed files with 21 additions and 6 deletions

View File

@@ -143,8 +143,6 @@
("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)
@@ -197,6 +195,8 @@
(meow-motion-overwrite-define-key
'("j" . meow-next)
'("k" . meow-prev)
'("J" . meow-next-expand)
'("K" . meow-prev-expand)
'("<escape>" . ignore))
(meow-leader-define-key
@@ -493,4 +493,14 @@
(embark-collect-mode . consult-preview-at-point-mode))
(use-package magit
:straight t)
:straight t
:custom (magit-save-repository-buffers 'dontask)
:bind (("C-x g" . magit-status)
:map magit-mode-map
(":" . execute-extended-command)
("x" . magit-discard)))
(use-package direnv
:straight t
:config
(direnv-mode))