Tabs and spaces in Vim
2010-07-20 06:16
369 查看
:set expandtab
"Inserting spaces with pressing tab key. If you want to input a real Tab key with this option
" Press Ctrl-V<Tab>
:set tabstop=4
" Setting the amount of spaces for the a tab hit. Here 4 space characters per tab
:set shiftwidth=4
"The number of space characters inserted for indentation when press tab.
"Inserting spaces with pressing tab key. If you want to input a real Tab key with this option
" Press Ctrl-V<Tab>
:set tabstop=4
" Setting the amount of spaces for the a tab hit. Here 4 space characters per tab
:set shiftwidth=4
"The number of space characters inserted for indentation when press tab.
相关文章推荐
- Fix Indentation and Tabs in VIM (Vim格式化操作)
- TabError: inconsistent use of tabs and spaces in indentation
- inconsistent use of tabs and spaces in indentation
- Why do I keep getting mixed tabs and spaces in a Visual Studio C# code window?[vs power tools issue transfered]
- TabError: Inconsistent use of tabs and spaces in indentation
- Sorry: TabError: inconsistent use of tabs and spaces in indentation (alien_invasion.py, line 19)
- SyntaxError: inconsistent use of tabs and spaces in indentation
- taberror inconsistent use of tabs and spaces in indentation pycharm
- TabError: Inconsistent use of tabs and spaces in indentation
- python inconsistent use of tabs and spaces in indentation
- TabError: Inconsistent use of tabs and spaces in indentation
- python错误提示“TabError: inconsistent use of tabs and spaces in indentation”
- How to replace tab as spaces in vim?
- inconsistent use of tabs and spaces in indentation解决方法
- TabError: inconsistent use of tabs and spaces in indentation
- python inconsistent use of tabs and spaces in indentation
- python TabError: Inconsistent use of tabs and spaces in indentation
- 【转】TabError:inconsistent use of tabs and spaces
- Insert the control characters in Vi and Vim editors.
- DataGridView in TabControl and CellValidating lead to problems