Install magit
This commit is contained in:
@@ -188,8 +188,6 @@ Set a location for the custom file so it doesn't pollute this file.
|
|||||||
("C-c b n" . next-buffer)
|
("C-c b n" . next-buffer)
|
||||||
("C-c b C-c" . server-edit)
|
("C-c b C-c" . server-edit)
|
||||||
|
|
||||||
;; Magit
|
|
||||||
("C-c g g" . magit-status)
|
|
||||||
;; TODO - C-c g p for open project in magit
|
;; TODO - C-c g p for open project in magit
|
||||||
|
|
||||||
("C-o" . pop-global-mark)
|
("C-o" . pop-global-mark)
|
||||||
@@ -250,6 +248,8 @@ When in indent-rigidly mode (=+= in normal state), use =H/L= to adjust indent by
|
|||||||
(meow-motion-overwrite-define-key
|
(meow-motion-overwrite-define-key
|
||||||
'("j" . meow-next)
|
'("j" . meow-next)
|
||||||
'("k" . meow-prev)
|
'("k" . meow-prev)
|
||||||
|
'("J" . meow-next-expand)
|
||||||
|
'("K" . meow-prev-expand)
|
||||||
'("<escape>" . ignore))
|
'("<escape>" . ignore))
|
||||||
|
|
||||||
(meow-leader-define-key
|
(meow-leader-define-key
|
||||||
@@ -564,7 +564,12 @@ When in indent-rigidly mode (=+= in normal state), use =H/L= to adjust indent by
|
|||||||
* Git
|
* Git
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package magit
|
(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)))
|
||||||
#+end_src
|
#+end_src
|
||||||
* TODO Direnv
|
* TODO Direnv
|
||||||
|
|
||||||
|
|||||||
@@ -143,8 +143,6 @@
|
|||||||
("C-c b n" . next-buffer)
|
("C-c b n" . next-buffer)
|
||||||
("C-c b C-c" . server-edit)
|
("C-c b C-c" . server-edit)
|
||||||
|
|
||||||
;; Magit
|
|
||||||
("C-c g g" . magit-status)
|
|
||||||
;; TODO - C-c g p for open project in magit
|
;; TODO - C-c g p for open project in magit
|
||||||
|
|
||||||
("C-o" . pop-global-mark)
|
("C-o" . pop-global-mark)
|
||||||
@@ -197,6 +195,8 @@
|
|||||||
(meow-motion-overwrite-define-key
|
(meow-motion-overwrite-define-key
|
||||||
'("j" . meow-next)
|
'("j" . meow-next)
|
||||||
'("k" . meow-prev)
|
'("k" . meow-prev)
|
||||||
|
'("J" . meow-next-expand)
|
||||||
|
'("K" . meow-prev-expand)
|
||||||
'("<escape>" . ignore))
|
'("<escape>" . ignore))
|
||||||
|
|
||||||
(meow-leader-define-key
|
(meow-leader-define-key
|
||||||
@@ -493,4 +493,14 @@
|
|||||||
(embark-collect-mode . consult-preview-at-point-mode))
|
(embark-collect-mode . consult-preview-at-point-mode))
|
||||||
|
|
||||||
(use-package magit
|
(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))
|
||||||
|
|||||||
Reference in New Issue
Block a user