From d1772bc17864b17ef25e10d226f70d5a794d5c50 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Thu, 2 Apr 2020 11:41:18 +0100 Subject: [PATCH] vim: gitcommit: add right gutter at column 72 Also set the tab indent to 4 chars instead of the default 8 --- .config/vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index ab2fa91..1769d2d 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -309,3 +309,4 @@ map Q autocmd FileType markdown setlocal ts=2 sts=2 sw=2 et autocmd FileType yaml setlocal ts=2 sts=2 sw=2 et +autocmd FileType gitcommit setlocal cc=72 et sw=4