Gee, what're we gonna do tonight, Brain?
This commit is contained in:
parent
4df3c32a8d
commit
3a79705475
44 changed files with 1806 additions and 1237 deletions
|
@ -1,27 +1,73 @@
|
|||
(provide 'init-git)
|
||||
|
||||
(use-package git-commit-mode
|
||||
:mode (("/COMMIT_EDITMSG\\'" . git-commit-mode)
|
||||
("/NOTES_EDITMSG\\'" . git-commit-mode)
|
||||
("/MERGE_MSG\\'" . git-commit-mode)
|
||||
("/TAG_EDITMSG\\'" . git-commit-mode)
|
||||
("/PULLREQ_EDITMSG\\'" . git-commit-mode)))
|
||||
:mode (("/COMMIT_EDITMSG\\'" . git-commit-mode)
|
||||
("/NOTES_EDITMSG\\'" . git-commit-mode)
|
||||
("/MERGE_MSG\\'" . git-commit-mode)
|
||||
("/TAG_EDITMSG\\'" . git-commit-mode)
|
||||
("/PULLREQ_EDITMSG\\'" . git-commit-mode)))
|
||||
|
||||
(use-package git-rebase-mode
|
||||
:mode ("/git-rebase-todo\\'" . git-rebase-mode))
|
||||
:mode ("/git-rebase-todo\\'" . git-rebase-mode))
|
||||
|
||||
(use-package gitconfig-mode
|
||||
:mode (("/\\.?git/?config\\'" . gitconfig-mode)
|
||||
("/\\.gitmodules\\'" . gitconfig-mode))
|
||||
:config
|
||||
(add-hook 'gitconfig-mode-hook 'flyspell-mode))
|
||||
:mode (("/\\.?git/?config\\'" . gitconfig-mode)
|
||||
("/\\.gitmodules\\'" . gitconfig-mode))
|
||||
:config (add-hook 'gitconfig-mode-hook 'flyspell-mode))
|
||||
|
||||
(use-package gitignore-mode
|
||||
:mode (("/\\.gitignore\\'" . gitignore-mode)
|
||||
("/\\.git/info/exclude\\'" . gitignore-mode)
|
||||
("/git/ignore\\'" . gitignore-mode)))
|
||||
:mode (("/\\.gitignore\\'" . gitignore-mode)
|
||||
("/\\.git/info/exclude\\'" . gitignore-mode)
|
||||
("/git/ignore\\'" . gitignore-mode)))
|
||||
|
||||
(use-package git-gutter
|
||||
:diminish git-gutter-mode
|
||||
:init
|
||||
(global-git-gutter-mode 1))
|
||||
(use-package git-gutter-fringe+
|
||||
:init (global-git-gutter+-mode +1)
|
||||
:config
|
||||
(progn
|
||||
(fringe-helper-define 'git-gutter-fr+-added nil
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X.......")
|
||||
|
||||
(fringe-helper-define 'git-gutter-fr+-deleted nil
|
||||
"X......."
|
||||
"XXXXXXXX"
|
||||
"X......."
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........"
|
||||
"........")
|
||||
|
||||
(fringe-helper-define 'git-gutter-fr+-modified nil
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X......."
|
||||
"X.......")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue