diff options
author | 2011-03-01 18:45:27 +0100 | |
---|---|---|
committer | 2011-03-01 18:45:27 +0100 | |
commit | fa96a4b0bd6d88dd16ed08091a7e370e6a519ee3 (patch) | |
tree | 0dc7f7562699659e5c2b78c635a59a824c5ba934 | |
parent | ec8d1f73784f9362f7cc2cd17704538a4273460e (diff) | |
download | dotfiles-fa96a4b0bd6d88dd16ed08091a7e370e6a519ee3.tar.gz dotfiles-fa96a4b0bd6d88dd16ed08091a7e370e6a519ee3.zip |
Line width for git commit
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,12 +3,13 @@ set background:dark colorscheme earendel au BufRead ~/.mutt/temp/mutt-* set tw=72 +au BufRead .git/COMMIT_EDITMSG set tw=72 autocmd FileType make setlocal noexpandtab autocmd BufWritePre *.php :%s/\s\+$//e " Highlight everything right of the 80th column -highlight rightMargin ctermfg=darkred guifg=darkred +highlight rightMargin ctermfg=red guifg=red autocmd BufWinEnter * let w:m1=matchadd('rightMargin', '\%>79v', -1) " Highlight all trailing whitespace highlight trailWhite ctermbg=darkgray guibg=darkgray |