Created
July 16, 2015 07:23
-
-
Save tomykaira/8d9269ef2388c5491fd3 to your computer and use it in GitHub Desktop.
Simple vimrc for strict coding rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
au BufWinEnter COMMIT_EDITMSG setlocal tw=75 | |
au BufWinEnter COMMIT_EDITMSG let w:g1=matchadd('ErrorMsg', '\%1l\%51v.\+', -1) | |
au BufWinEnter COMMIT_EDITMSG let w:g2=matchadd('ErrorMsg', '\%76v.\+', -1) | |
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%80v.\+', -1) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment