EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Editor ]

"VI Indentation" - Ülkü SAYILAN - (2004-08-23 11:18:12)   [8700]

VI Indentation

Indent your lines or remove the indentation in the vi editor.

<< Shifts the current line to the left by one shift width.
>> Shifts the current line to the right by one shift width.

You can set the shift width by command

:set sw

For example, the command to set the shift width to 4
characters is

:set sw=4.

Mail to My Friend , Home Page