Gestione Tabulazioni: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 16: | Line 16: | ||
:retab | :retab | ||
Per convertire TUTTI le sequnze di spazi con dei TAB, anche se non contengono un TAB: | |||
:%retab! | |||
Revision as of 17:19, 25 May 2006
To control the number of space characters that will be inserted when
the tab key is pressed, set the 'tabstop' option.
For example, to insert 4 spaces for a tab, use:
set tabstop=4
After the 'expandtab' option is set, all the new tab characters entered will be changed to spaces.
This will not affect the existing tab characters.
To change all the existing tab characters to match the current tab settings, use
:retab
Per convertire TUTTI le sequnze di spazi con dei TAB, anche se non contengono un TAB:
:%retab!