aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 988bd71..e6e8580 100644
--- a/vimrc
+++ b/vimrc
@@ -45,12 +45,12 @@ autocmd FileType yaml setlocal ts=2 sw=2 expandtab
autocmd FileType yaml set shiftwidth=2
autocmd FileType yaml set softtabstop=2
+autocmd FileType gitcommit setlocal textwidth=72 formatoptions-=t
+
nnoremap <Enter> moO<Esc>`o
set autoindent
set number
set tabstop=4
set hls is
-set textwidth=72
-set formatoptions-=t
syntax on