Add git-commit-mode
Makes emacs look more like vim when commiting messages. Shows me what I'm doing wrong or right.
This commit is contained in:
parent
e9b772c8c1
commit
993da8846a
3 changed files with 10 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -13,3 +13,6 @@
|
||||||
[submodule "emacs.d/elisp/markdown-mode"]
|
[submodule "emacs.d/elisp/markdown-mode"]
|
||||||
path = emacs.d/elisp/markdown-mode
|
path = emacs.d/elisp/markdown-mode
|
||||||
url = git://jblevins.org/git/markdown-mode.git
|
url = git://jblevins.org/git/markdown-mode.git
|
||||||
|
[submodule "emacs.d/elisp/git-commit-mode"]
|
||||||
|
path = emacs.d/elisp/git-commit-mode
|
||||||
|
url = git://github.com/rafl/git-commit-mode.git
|
||||||
|
|
6
emacs.d/20-git-commit.el
Normal file
6
emacs.d/20-git-commit.el
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode")
|
||||||
|
(require 'git-commit)
|
||||||
|
|
||||||
|
(add-hook 'git-commit-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(auto-fill-mode)))
|
1
emacs.d/elisp/git-commit-mode
Submodule
1
emacs.d/elisp/git-commit-mode
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ec88948e06f787fcc1c3b9951930ef00b25d0b8a
|
Loading…
Reference in a new issue