[vim]Make default tabe size 8
This commit is contained in:
parent
462145bb05
commit
404bf6df01
@ -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
7
.vimrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user