vim:config:indentation:indentation_with_spaces
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
vim:config:indentation:indentation_with_spaces [2022/10/08 14:02] – peter | vim:config:indentation:indentation_with_spaces [2022/10/08 14:02] (current) – peter | ||
---|---|---|---|
Line 17: | Line 17: | ||
* If **expandtab** is set, pressing the **< | * If **expandtab** is set, pressing the **< | ||
* Otherwise, the amount of spaces inserted is minimized by using TAB characters. | * Otherwise, the amount of spaces inserted is minimized by using TAB characters. | ||
+ | |||
+ | * **shiftwidth** affects what happens when you press **>> | ||
+ | * It also affects how automatic indentation works. | ||
* **softtabstop** affects what happens when you press the **< | * **softtabstop** affects what happens when you press the **< | ||
Line 22: | Line 25: | ||
* If **expandtab** is unset, and **tabstop** is different from **softtabstop**, | * If **expandtab** is unset, and **tabstop** is different from **softtabstop**, | ||
* For instance, if **tabstop** is 8, and the amount of consecutive space inserted is 20, two TAB characters and four spaces will be used. | * For instance, if **tabstop** is 8, and the amount of consecutive space inserted is 20, two TAB characters and four spaces will be used. | ||
- | |||
- | * **shiftwidth** affects what happens when you press **>> | ||
- | * It also affects how automatic indentation works. | ||
</ | </ | ||
vim/config/indentation/indentation_with_spaces.1665237733.txt.gz · Last modified: 2022/10/08 14:02 by peter