[vim]Make default tabe size 8

This commit is contained in:
Mathieu Maret 2014-03-24 17:46:29 +01:00 committed by Mathieu Maret
parent 462145bb05
commit 404bf6df01
2 changed files with 6 additions and 5 deletions

View File

@ -31,7 +31,7 @@ set sts=0 | set tabstop=4 | set noexpandtab | set shiftwidth=4
VERSION='1.4' VERSION='1.4'
### Used when indentation is tab, to set tabstop in vim ### Used when indentation is tab, to set tabstop in vim
DEFAULT_TAB_WIDTH = 4 DEFAULT_TAB_WIDTH = 8
### default values for files where indentation is not meaningful (empty files) ### default values for files where indentation is not meaningful (empty files)
# possible values: # possible values:
@ -40,7 +40,7 @@ DEFAULT_TAB_WIDTH = 4
# DEFAULT_RESULT = ('space', 8 ) # DEFAULT_RESULT = ('space', 8 )
# DEFAULT_RESULT = ('tab', DEFAULT_TAB_WIDTH ) # DEFAULT_RESULT = ('tab', DEFAULT_TAB_WIDTH )
DEFAULT_RESULT = ('space', 4 ) DEFAULT_RESULT = ('space', 8 )
VERBOSE_QUIET = 0 VERBOSE_QUIET = 0
VERBOSE_INFO = 1 VERBOSE_INFO = 1

7
.vimrc
View File

@ -106,9 +106,9 @@ set smarttab
set smartindent set smartindent
set autoindent set autoindent
" tab=4 " tab=4
set tabstop=4 set tabstop=8
set softtabstop=4 set softtabstop=8
set shiftwidth=4 set shiftwidth=8
" real tabs " real tabs
" set noexpandtab " set noexpandtab
@ -405,3 +405,4 @@ imap <buffer> <leader>it <Plug>Tex_InsertItemOnThisLine
let g:Tex_DefaultTargetFormat="pdf" let g:Tex_DefaultTargetFormat="pdf"
colorscheme mycolor colorscheme mycolor
cnoremap sudow w !sudo tee % >/dev/null