comparison rc/vimrc @ 565:85dca9054bac

Invert the default to two spacing. space > tab.
author nanaya <me@myconan.net>
date Sat, 06 Jun 2015 16:51:19 +0900
parents 7cac401e5c78
children 3bd22b75cdc4
comparison
equal deleted inserted replaced
564:e80a3ce5d72f 565:85dca9054bac
8 set ruler 8 set ruler
9 set backspace=2 " make backspace work like most other apps 9 set backspace=2 " make backspace work like most other apps
10 set esckeys 10 set esckeys
11 set noerrorbells 11 set noerrorbells
12 12
13 set tabstop=4 13 set softtabstop=2 tabstop=2 shiftwidth=2 expandtab
14 set shiftwidth=4
15 set softtabstop=4
16 14
17 set copyindent 15 set copyindent
18 set title 16 set title
19 set incsearch 17 set incsearch
20 set ignorecase 18 set ignorecase
82 80
83 function In4() 81 function In4()
84 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab 82 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab
85 endfunction 83 endfunction
86 84
87 if $EC_VIM_SPACING == "2" 85 if $EC_VIM_SPACING == "4"
88 call In2() 86 call In4()
89 endif 87 endif
90 88
91 " required by syntax file 89 " required by syntax file
92 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim 90 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim
93 let g:vim_json_syntax_conceal = 1 91 let g:vim_json_syntax_conceal = 1