Mercurial > ec-dotfiles
comparison 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 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 573:ee234e4c144d | 574:562fff349744 | 
|---|---|
| 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 softtabstop=2 tabstop=2 shiftwidth=2 expandtab | 13 set softtabstop=4 tabstop=4 shiftwidth=4 expandtab | 
| 14 | 14 | 
| 15 set copyindent | 15 set copyindent | 
| 16 set title | 16 set title | 
| 17 set incsearch | 17 set incsearch | 
| 18 set ignorecase | 18 set ignorecase | 
| 81 function In2() | 81 function In2() | 
| 82 set softtabstop=2 tabstop=2 shiftwidth=2 expandtab | 82 set softtabstop=2 tabstop=2 shiftwidth=2 expandtab | 
| 83 endfunction | 83 endfunction | 
| 84 | 84 | 
| 85 function In4() | 85 function In4() | 
| 86 set softtabstop=4 tabstop=4 shiftwidth=4 expandtab | |
| 87 endfunction | |
| 88 | |
| 89 function In4t() | |
| 86 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab | 90 set softtabstop=4 tabstop=4 shiftwidth=4 noexpandtab | 
| 87 endfunction | 91 endfunction | 
| 88 | |
| 89 if $EC_VIM_SPACING == "4" | |
| 90 call In4() | |
| 91 endif | |
| 92 | 92 | 
| 93 " required by syntax file | 93 " required by syntax file | 
| 94 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim | 94 " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim | 
| 95 let g:vim_json_syntax_conceal = 1 | 95 let g:vim_json_syntax_conceal = 1 | 
| 96 | 96 | 
