mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23: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
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue