mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
add git-timemachine
This commit is contained in:
@ -31,6 +31,18 @@
|
|||||||
(def-package! browse-at-remote
|
(def-package! browse-at-remote
|
||||||
:commands (browse-at-remote browse-at-remote-get-url))
|
:commands (browse-at-remote browse-at-remote-get-url))
|
||||||
|
|
||||||
|
(def-package! git-timemachine
|
||||||
|
:commands (git-timemachine git-timemachine-toggle)
|
||||||
|
:config
|
||||||
|
(add-hook! 'git-timemachine-mode-hook #'evil-force-normal-state)
|
||||||
|
(map! :map git-timemachine-mode-map
|
||||||
|
:nv "p" 'git-timemachine-show-previous-revision
|
||||||
|
:nv "n" 'git-timemachine-show-next-revision
|
||||||
|
:nv "g" 'git-timemachine-show-nth-revision
|
||||||
|
:nv "q" 'git-timemachine-quit
|
||||||
|
:nv "w" 'git-timemachine-kill-abbreviated-revision
|
||||||
|
:nv "W" 'git-timemachine-kill-revision
|
||||||
|
:nv "b" 'git-timemachine-blame))
|
||||||
|
|
||||||
(def-package! magit
|
(def-package! magit
|
||||||
:commands magit-status
|
:commands magit-status
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
;;; +git
|
;;; +git
|
||||||
(package! browse-at-remote)
|
(package! browse-at-remote)
|
||||||
(package! git-gutter-fringe)
|
(package! git-gutter-fringe)
|
||||||
|
(package! git-timemachine)
|
||||||
(package! gitconfig-mode)
|
(package! gitconfig-mode)
|
||||||
(package! gitignore-mode)
|
(package! gitignore-mode)
|
||||||
(package! magit)
|
(package! magit)
|
||||||
|
Reference in New Issue
Block a user