diff rc/vimrc @ 574:562fff349744

Default 4 spaces without tab.
author nanaya <me@myconan.net>
date Mon, 07 Sep 2015 16:46:26 +0900
parents 9e936a929c2d
children 139862f791aa
line wrap: on
line diff
--- a/rc/vimrc	Wed Aug 12 16:20:32 2015 +0900
+++ b/rc/vimrc	Mon Sep 07 16:46:26 2015 +0900
@@ -10,7 +10,7 @@
 set esckeys
 set noerrorbells
 
-set softtabstop=2 tabstop=2 shiftwidth=2 expandtab
+set softtabstop=4 tabstop=4 shiftwidth=4 expandtab
 
 set copyindent
 set title
@@ -83,12 +83,12 @@
   endfunction
 
   function In4()
-    set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab
+    set softtabstop=4 tabstop=4 shiftwidth=4 expandtab
   endfunction
 
-  if $EC_VIM_SPACING == "4"
-    call In4()
-  endif
+  function In4t()
+    set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab
+  endfunction
 
   " required by syntax file
   " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim