Next: , Previous: TabSize, Up: Preferences Commands


4.9.14 Tabs

Syntax: Tabs [0|1]
Abbreviation: TAB

sets the Tabs flag. When this flag is true, the InsertTab command will insert literal TAB characters. Otherwise it will insert enough spaces to have the same visual effect.

In normal editing, the <Tab> key invokes the command "InsertTab 1". Unlike most others, the <Tab> key cannot be mapped to other commands. Thus the Tabs flag provides the only customization ne offers for the <Tab> key.

The Tabs flag also affects the action of the <BackSpace> and <Delete> keys in one special circumstance. That is, if the normal action of these keys would remove white space, and that white space could be represented by a tab, then one tab's worth of space is removed. In all other cases, the <BackSpace> and <Delete> keys perform their normal function.

If you invoke Tabs with no arguments, it will toggle the flag. If you specify 0 or 1, the flag will be set to false or true, respectively. A lower case ‘t’ will appear on the status bar if the flag is true.