From 623ebfa00359376e7bd7d4535549656f7a5cff95 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Fri, 3 Jan 2025 16:25:38 +0100 Subject: [PATCH] Reformat git-commit messages to 100 chars width via ',gf' automatically --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index 743593f..0a78db2 100644 --- a/.vimrc +++ b/.vimrc @@ -178,6 +178,7 @@ nnoremap gp :Git push -u origin nnoremap gs :Git status nnoremap tw :set textwidth=72 nnoremap go :Git pull +nnoremap gf :set textwidth=100 colorcolumn=101 spellgqqmaggV/^#kgq`a " Install these files to ~/.vim/spell/ " http://ftp.vim.org/vim/runtime/spell/en.utf-8.spl