add git-timemachine

This commit is contained in:
Bryan Gilbert 2017-04-27 13:21:49 -04:00
parent 0f625d79fa
commit 814287b118
2 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -7,6 +7,7 @@
;;; +git
(package! browse-at-remote)
(package! git-gutter-fringe)
(package! git-timemachine)
(package! gitconfig-mode)
(package! gitignore-mode)
(package! magit)