mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #48 from gilbertw1/feature-add-git-timemachine
add git-timemachine
This commit is contained in:
@ -31,6 +31,18 @@
|
||||
(def-package! browse-at-remote
|
||||
: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
|
||||
:commands magit-status
|
||||
|
@ -7,6 +7,7 @@
|
||||
;;; +git
|
||||
(package! browse-at-remote)
|
||||
(package! git-gutter-fringe)
|
||||
(package! git-timemachine)
|
||||
(package! gitconfig-mode)
|
||||
(package! gitignore-mode)
|
||||
(package! magit)
|
||||
|
Reference in New Issue
Block a user