Add tabsToSpaces option

This commit is contained in:
Zachary Yedidia
2016-04-18 13:01:39 -04:00
parent fa7808b4ae
commit c7f8584d84
4 changed files with 37 additions and 13 deletions

View File

@@ -122,10 +122,13 @@ Micro has a few options which you can set:
* colorscheme
* tabsize
* syntax
* tabsToSpaces
To set an option run Ctrl-e to execute a command, and type `set option value`, so to set the tabsize to 8 it would be `set tabsize 8`.
To set an option run Ctrl-e to execute a command, and type `set option value`, so to set the tabsize to 8 it would be `set tabsize 8`. The default is 4.
The syntax option can simply be on or off, so for example to turn syntax highlighting off, run `set syntax off`.
The syntax option can simply be on or off, so for example to turn syntax highlighting off, run `set syntax off`. The default is on.
The tabsToSpaces option is on or off. It specifies whether to use spaces instead of tabs or not. The default is off.
The colorscheme can be selected from all the files in the `ConfigDir/colorschemes/` directory. Micro comes by default with three colorschemes: