Vim更改制表符大小

代码示例

6
0

vim更改制表符大小

set tabstop=4
4
0

vim设置制表符大小

:set tabstop=2 shiftwidth=2 expandtab
:retab

# tabstop		-> Indentation width in spaces
# shiftwidth	-> Autoindentation width in spaces
# expandtab		-> Use actual spaces instead of tabs
# retab			-> Convert existing tabs to spaces
0
0

设置制表符长度vim

set shiftwidth=0
set tabstop=4

其他语言

此页面有其他语言版本

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................