From 39abdf5af503eff9b2cffe47e10f87cc45c15fbe Mon Sep 17 00:00:00 2001 From: Guillaume DOTT Date: Fri, 30 Nov 2012 15:38:21 +0100 Subject: [PATCH] vim: reindent --- vim/vimrc | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 6b50765..24b641c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -195,25 +195,25 @@ au BufWritePost * call ModeChange() " FUNCTIONS " { function! ToggleYesNo() - let w=expand("") - if w=="yes" | let w="no" - elseif w=="no" | let w="yes" - elseif w=="on" | let w="off" - elseif w=="off" | let w="on" - elseif w=="True" | let w="False" - elseif w=="False" | let w="True" - elseif w=="true" | let w="false" - elseif w=="false" | let w="true" - elseif w=="manual" | let w="auto" - elseif w=="auto" | let w="manual" - elseif w=="public" | let w="private" - elseif w=="private" | let w="protected" - elseif w=="protected" | let w="public" - else | let w="" - endif - if w!="" - exec "normal! \"_ciw\=w\\b" - endif + let w=expand("") + if w=="yes" | let w="no" + elseif w=="no" | let w="yes" + elseif w=="on" | let w="off" + elseif w=="off" | let w="on" + elseif w=="True" | let w="False" + elseif w=="False" | let w="True" + elseif w=="true" | let w="false" + elseif w=="false" | let w="true" + elseif w=="manual" | let w="auto" + elseif w=="auto" | let w="manual" + elseif w=="public" | let w="private" + elseif w=="private" | let w="protected" + elseif w=="protected" | let w="public" + else | let w="" + endif + if w!="" + exec "normal! \"_ciw\=w\\b" + endif endfunc " }