mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 11:43:03 +03:00
feat(emacs): git-timemachine
This commit is contained in:
parent
c5294aea22
commit
08801fc5ec
2 changed files with 13 additions and 1 deletions
|
|
@ -200,6 +200,7 @@
|
||||||
helpful
|
helpful
|
||||||
compile
|
compile
|
||||||
comint
|
comint
|
||||||
|
git-timemachine
|
||||||
magit
|
magit
|
||||||
prodigy)))
|
prodigy)))
|
||||||
|
|
||||||
|
|
@ -640,6 +641,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
||||||
:config
|
:config
|
||||||
(global-git-gutter-mode +1))
|
(global-git-gutter-mode +1))
|
||||||
|
|
||||||
|
(use-package git-timemachine
|
||||||
|
:straight t
|
||||||
|
:commands (git-timemachine))
|
||||||
|
|
||||||
(my-leader-def
|
(my-leader-def
|
||||||
"m" 'magit
|
"m" 'magit
|
||||||
"M" 'magit-file-dispatch)
|
"M" 'magit-file-dispatch)
|
||||||
|
|
|
||||||
|
|
@ -603,6 +603,7 @@ I don't enable the entire package, just the modes I need.
|
||||||
helpful
|
helpful
|
||||||
compile
|
compile
|
||||||
comint
|
comint
|
||||||
|
git-timemachine
|
||||||
magit
|
magit
|
||||||
prodigy)))
|
prodigy)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
@ -1228,7 +1229,9 @@ A company frontend with nice icons.
|
||||||
** Git & Magit
|
** 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.
|
[[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
|
#+begin_src emacs-lisp
|
||||||
(use-package magit
|
(use-package magit
|
||||||
|
|
@ -1255,6 +1258,10 @@ Also, [[https://github.com/emacsorphanage/git-gutter][git-gutter]] is plugin whi
|
||||||
:config
|
:config
|
||||||
(global-git-gutter-mode +1))
|
(global-git-gutter-mode +1))
|
||||||
|
|
||||||
|
(use-package git-timemachine
|
||||||
|
:straight t
|
||||||
|
:commands (git-timemachine))
|
||||||
|
|
||||||
(my-leader-def
|
(my-leader-def
|
||||||
"m" 'magit
|
"m" 'magit
|
||||||
"M" 'magit-file-dispatch)
|
"M" 'magit-file-dispatch)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue