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:
Tom Willemsen 2011-04-17 02:35:36 +02:00
parent e9b772c8c1
commit 993da8846a
3 changed files with 10 additions and 0 deletions

3
.gitmodules vendored
View file

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

@ -0,0 +1 @@
Subproject commit ec88948e06f787fcc1c3b9951930ef00b25d0b8a