From 46324312bc81219d179ddeeef46c30323e63023a Mon Sep 17 00:00:00 2001 From: mxmehl Date: Thu, 18 Jan 2018 18:14:09 +0100 Subject: [PATCH] increase max width in mail header --- vim/.vim/astroid.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/.vim/astroid.vim b/vim/.vim/astroid.vim index 16385f5..bb516ab 100644 --- a/vim/.vim/astroid.vim +++ b/vim/.vim/astroid.vim @@ -24,12 +24,12 @@ setlocal omnifunc=QueryCommandComplete " Functions -" Set tw to 500 if in the first 4 lines, else 500 +" Set tw to 5000 if in the first 4 lines, else 72 au CursorMovedI * call ModifyTextWidth() " execute when cursor has moved, use for all files function! ModifyTextWidth() let line=getline('.') " get the current line number of the cursor if line('.') < 5 " if line number smaller than 5 - setlocal textwidth=500 " use high tw setting + setlocal textwidth=5000 " use high tw setting else setlocal textwidth=72 " Otherwise use normal textwidth endif