add git-timemachine
This commit is contained in:
parent
0f625d79fa
commit
814287b118
2 changed files with 13 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue