From fdb7331a256c6b9b643c0292edbe4ddd9c0142c1 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 18 Mar 2017 14:36:08 +0000 Subject: [PATCH] Minor refactor --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index dc2942e..d02a62e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -144,10 +144,10 @@ set expandtab " Force the cursor onto a new line after 80 characters set textwidth=80 -set colorcolumn=81 " However, in Git commit messages, let’s make it 72 characters autocmd FileType gitcommit set textwidth=72 -autocmd FileType gitcommit set colorcolumn=73 +" Colour the 81st (or 73rd) column so that we don’t type over our limit +set colorcolumn=+1 "------------------------------------------------------------ " Mappings {{{1