avoid abbreviated options

Thu, 14 Sep 2017 19:39:46 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 14 Sep 2017 19:39:46 -0400
changeset 640
f8985ae54969
parent 639
383628663fd5
child 641
60b56bbfc143

avoid abbreviated options

.vim/autoload/vimrc.vim file | annotate | diff | comparison | revisions
.vimrc file | annotate | diff | comparison | revisions
--- a/.vim/autoload/vimrc.vim
+++ b/.vim/autoload/vimrc.vim
@@ -4,9 +4,9 @@ endfunc
 
 func! vimrc#AutoFmtToggle() abort
   if &formatoptions =~ 'a'
-    setl fo-=a | echo '-a'
+    setl formatoptions-=a | echo '-a'
   else
-    setl fo+=a | echo '+a'
+    setl formatoptions+=a | echo '+a'
   endif
 endfunc
 
@@ -50,6 +50,6 @@ func! vimrc#VundleInstallAndBegin() abor
     echo "Installed Vundle, run :PluginInstall if desired"
   endif
 
-  let &rtp .= ',' . bundlepath . '/vundle'
+  let &runtimepath .= ',' . bundlepath . '/vundle'
   call vundle#begin(bundlepath)
 endfunc
--- a/.vimrc
+++ b/.vimrc
@@ -162,8 +162,8 @@ endif
 set linebreak
 set showbreak=ยป\ 
 if exists('&breakindent')
-  set bri
-  set briopt+=sbr
+  set breakindent
+  set breakindentopt+=sbr
 endif
 
 set virtualedit=block

mercurial