2017-02-04 03:21:27 -05:00
|
|
|
;;; feature/version-control/config.el
|
2017-02-03 20:29:09 -05:00
|
|
|
|
2017-02-09 04:22:08 -05:00
|
|
|
(@load +git)
|
|
|
|
;; (@load +hg)
|
2017-02-03 20:29:09 -05:00
|
|
|
|
2017-02-09 04:22:08 -05:00
|
|
|
(@after vc-annotate
|
|
|
|
(@set :popup
|
2017-02-08 02:22:51 -05:00
|
|
|
'("*vc-diff*" :size 15 :noselect t)
|
|
|
|
'("*vc-change-log*" :size 15 :select t)
|
|
|
|
'(vc-annotate-mode :same t))
|
2017-02-03 20:29:09 -05:00
|
|
|
|
2017-02-09 04:22:08 -05:00
|
|
|
(@set :evil-state
|
2017-02-08 02:22:51 -05:00
|
|
|
'(vc-annotate-mode normal)
|
|
|
|
'(vc-git-log-view-mode normal))
|
2017-02-03 20:29:09 -05:00
|
|
|
|
2017-02-09 04:22:08 -05:00
|
|
|
(@map :map vc-annotate-mode-map
|
2017-02-03 20:29:09 -05:00
|
|
|
:n "q" 'kill-this-buffer
|
|
|
|
:n "d" 'vc-annotate-show-diff-revision-at-line
|
|
|
|
:n "D" 'vc-annotate-show-changeset-diff-revision-at-line
|
|
|
|
:n "SPC" 'vc-annotate-show-log-revision-at-line
|
|
|
|
:n "]]" 'vc-annotate-next-revision
|
|
|
|
:n "[[" 'vc-annotate-prev-revision
|
|
|
|
:n [tab] 'vc-annotate-toggle-annotation-visibility
|
|
|
|
:n "RET" 'vc-annotate-find-revision-at-line))
|
|
|
|
|