| 1 |
# Micro help text |
| 2 |
|
| 3 |
Micro is an easy to use, intuitive, text editor that takes advantage of the |
| 4 |
full capabilities of modern terminals. |
| 5 |
|
| 6 |
Micro can be controlled by commands entered on the command bar, or with |
| 7 |
keybindings. To open the command bar, press `Ctrl-e`: the `>` prompt will |
| 8 |
display. From now on, when the documentation shows a command to run (such as |
| 9 |
`> help`), press `Ctrl-e` and type the command followed by enter. |
| 10 |
|
| 11 |
For a list of the default keybindings, run `> help defaultkeys`. |
| 12 |
For more information on keybindings, see `> help keybindings`. |
| 13 |
To toggle a short list of important keybindings, press Alt-g. |
| 14 |
|
| 15 |
## Quick-start |
| 16 |
|
| 17 |
To quit, press `Ctrl-q`. Save by pressing `Ctrl-s`. Press `Ctrl-e`, as previously |
| 18 |
mentioned, to start typing commands. To see which commands are available, at the |
| 19 |
prompt, press tab, or view the help topic with `> help commands`. |
| 20 |
|
| 21 |
Move the cursor around with the mouse or with the arrow keys. Enter text simply |
| 22 |
by pressing character keys. |
| 23 |
|
| 24 |
If the colorscheme doesn't look good, you can change it with |
| 25 |
`> set colorscheme ...`. You can press tab to see the available colorschemes, |
| 26 |
or see more information about colorschemes and syntax highlighting with `> help |
| 27 |
colors`. |
| 28 |
|
| 29 |
Press `Ctrl-w` to move between splits, and type `> vsplit filename` or |
| 30 |
`> hsplit filename` to open a new split. |
| 31 |
|
| 32 |
## Accessing more help |
| 33 |
|
| 34 |
Micro has a built-in help system which can be accessed with the `> help` command. |
| 35 |
|
| 36 |
To view help for the various available topics, press `Ctrl-e` to access command |
| 37 |
mode and type in `> help` followed by a topic. Typing just `> help` will open |
| 38 |
this page. |
| 39 |
|
| 40 |
Here are the available help topics: |
| 41 |
|
| 42 |
* `tutorial`: A brief tutorial which gives an overview of all the other help |
| 43 |
topics |
| 44 |
* `keybindings`: Gives a full list of the default keybindings as well as how to |
| 45 |
rebind them |
| 46 |
* `defaultkeys`: Gives a more straight-forward list of the hotkey commands and |
| 47 |
what they do |
| 48 |
* `commands`: Gives a list of all the commands and what they do |
| 49 |
* `options`: Gives a list of all the options you can customize |
| 50 |
* `plugins`: Explains how micro's plugin system works and how to create your own |
| 51 |
plugins |
| 52 |
* `colors`: Explains micro's colorscheme and syntax highlighting engine and how |
| 53 |
to create your own colorschemes or add new languages to the engine |
| 54 |
|
| 55 |
For example, to open the help page on plugins you would run `> help plugins`. |
| 56 |
|
| 57 |
I recommend looking at the `tutorial` help file because it is short for each |
| 58 |
section and gives concrete examples of how to use the various configuration |
| 59 |
options in micro. However, it does not give the in-depth documentation that the |
| 60 |
other topics provide. |