feat(emacs): git-timemachine

This commit is contained in:
Pavel Korytov 2021-08-25 19:25:57 +03:00
parent c5294aea22
commit 08801fc5ec
2 changed files with 13 additions and 1 deletions

View file

@ -200,6 +200,7 @@
helpful
compile
comint
git-timemachine
magit
prodigy)))
@ -640,6 +641,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
:config
(global-git-gutter-mode +1))
(use-package git-timemachine
:straight t
:commands (git-timemachine))
(my-leader-def
"m" 'magit
"M" 'magit-file-dispatch)

View file

@ -603,6 +603,7 @@ I don't enable the entire package, just the modes I need.
helpful
compile
comint
git-timemachine
magit
prodigy)))
#+end_src
@ -1228,7 +1229,9 @@ A company frontend with nice icons.
** Git & Magit
[[https://magit.vc/][Magic]] is a git interface for Emacs. The closest non-Emacs alternative (sans actual clones) I know is [[https://github.com/jesseduffield/lazygit][lazygit]], which I used before Emacs.
Also, [[https://github.com/emacsorphanage/git-gutter][git-gutter]] is plugin which shows git changes for each line (added/changed/deleted lines).
[[https://github.com/emacsorphanage/git-gutter][git-gutter]] is a package which shows git changes for each line (added/changed/deleted lines).
[[https://github.com/emacsmirror/git-timemachine][git-timemachine]] allows to visit previous versions of a file.
#+begin_src emacs-lisp
(use-package magit
@ -1255,6 +1258,10 @@ Also, [[https://github.com/emacsorphanage/git-gutter][git-gutter]] is plugin whi
:config
(global-git-gutter-mode +1))
(use-package git-timemachine
:straight t
:commands (git-timemachine))
(my-leader-def
"m" 'magit
"M" 'magit-file-dispatch)