Add modules/feature/version-control
This commit is contained in:
parent
76f09d83ff
commit
89c7ee0273
3 changed files with 52 additions and 27 deletions
|
@ -1,32 +1,7 @@
|
|||
;;; core/version-control/config.el
|
||||
|
||||
(use-package! gitconfig-mode
|
||||
:mode "/\\.?git/?config$"
|
||||
:mode "/\\.gitmodules$"
|
||||
:init (add-hook 'gitconfig-mode-hook 'flyspell-mode))
|
||||
|
||||
(use-package! gitignore-mode
|
||||
:mode "/\\.?git/?config$"
|
||||
:mode "/\\.gitmodules$")
|
||||
|
||||
|
||||
(use-package! browse-at-remote
|
||||
:commands (browse-at-remote/browse browse-at-remote/get-url))
|
||||
|
||||
|
||||
(use-package! magit
|
||||
:commands magit-status
|
||||
:config
|
||||
(def-popup! ("^\\*magit.+" :regexp t))
|
||||
(after! evil-snipe
|
||||
;; evil-snipe conflicts with magit
|
||||
(add-hook 'magit-mode-hook 'turn-off-evil-snipe-override-mode)))
|
||||
|
||||
|
||||
(use-package! evil-magit
|
||||
:when (featurep 'evil)
|
||||
:after magit)
|
||||
|
||||
(load! +git)
|
||||
;; (load! +hg)
|
||||
|
||||
(after! vc-annotate
|
||||
(set! :popup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue