vim:config:indentation:indentation_purely_with_hard_tabs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
vim:config:indentation:indentation_purely_with_hard_tabs [2022/10/08 14:05] – peter | vim:config:indentation:indentation_purely_with_hard_tabs [2022/10/08 14:07] (current) – peter | ||
---|---|---|---|
Line 7: | Line 7: | ||
set tabstop=2 | set tabstop=2 | ||
</ | </ | ||
- | |||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
* The principle is to set **set tabstop** and **set shiftwidth** to the same value, and to leave **expandtab** at its default value (**noexpandtab**), | * The principle is to set **set tabstop** and **set shiftwidth** to the same value, and to leave **expandtab** at its default value (**noexpandtab**), | ||
+ | * **shiftwidth** affects what happens when you press **>> | ||
+ | * It also affects how automatic indentation works. | ||
+ | |||
+ | * **tabstop** changes the width of the TAB character, plain and simple. | ||
</ | </ | ||
- | |||
vim/config/indentation/indentation_purely_with_hard_tabs.1665237913.txt.gz · Last modified: 2022/10/08 14:05 by peter