X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=vim%2Fvimrc;fp=vim%2Fvimrc;h=ab4b160229d06d0d29f1244438cd0bfdaf3aa039;hb=61ecab661a886a047c0a01c07c7089c22428ca9c;hp=6ad73bf8d7f73f8b5ab263310f181819ebcc8a35;hpb=596b0134fd4b1877814ed816ad19bdba1d16bd69;p=smckown%2Fdotfiles.git diff --git a/vim/vimrc b/vim/vimrc index 6ad73bf..ab4b160 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -372,10 +372,10 @@ function! ToggleFormatOptionT() let tmp = substitute(&formatoptions, 't', '', '') if &formatoptions == tmp set fo+=t - :echo "Enable text wrap" + :echo ":set fo+=t" else set fo-=t - :echo "Disable text wrap" + :echo ":set fo-=t" endif endfunction @@ -385,10 +385,10 @@ function! ToggleFormatOptionA() let tmp = substitute(&formatoptions, 'a', '', '') if &formatoptions == tmp set fo+=a - :echo "Enable auto-wrap paragraphs" + :echo ":set fo+=a" else set fo-=a - :echo "Disable auto-wrap paragraphs" + :echo ":set fo-=a" endif endfunction