X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fhelp%2Fhelp.md;h=d284e01905d8b1974899964e9b1de3d96d393d13;hb=f5e1f93ee5f04c8ecfd4d7794848b2c29e028ccb;hp=fe7cb48c32065f7306f01ffdc6b4a6a50a93f34e;hpb=a549d12808833c73876af9f2fa85fc908205708a;p=micro.git diff --git a/runtime/help/help.md b/runtime/help/help.md index fe7cb48c..d284e019 100644 --- a/runtime/help/help.md +++ b/runtime/help/help.md @@ -3,31 +3,56 @@ Micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the full capabilities of modern terminals. -*Press CtrlQ to quit, and CtrlS to save.* +To open the command bar, press CtrlE. This enables a `>` prompt for typing +commands. From now on when the documentation says to run a command such as +`> help`, this means press CtrlE and type `help` (and press enter to execute +the command). -If you want to see all the keybindings press CtrlE and type `help keybindings`. +For a list of the default keybindings run `> help defaultkeys`. +For more information on keybindings see `> help keybindings`. -See the next section for more information about documentation and help. +## Quick-start -### Accessing more help +Press Ctrl-q to quit, and Ctrl-s to save. Press CtrlE to start typing commands and +you can see which commands are available by pressing tab, or by viewing the help +topic `> help commands`. -Micro has a built-in help system much like Vim's (although less extensive). +Move the cursor around with the mouse or the arrow keys. Run +`> help defaultkeys` to get a quick, easy overview of the default hotkeys and +what they do. For more info on rebinding keys, see type `> help keybindings`. -To use it, press CtrlE to access command mode and type in `help` followed by a topic. -Typing `help` followed by nothing will open this page. +If the colorscheme doesn't look good, you can change it with +`> set colorscheme ...`. You can press tab to see the available colorschemes, or +see more information about colorschemes and syntax highlighting with `> help colors`. + +Press Ctrl-w to move between splits, and type `> vsplit filename` or +`> hsplit filename` to open a new split. + +## Accessing more help + +Micro has a built-in help system which can be accessed with the `help` command. + +To use it, press CtrlE to access command mode and type in `help` followed by a +topic. Typing `help` followed by nothing will open this page. Here are the possible help topics that you can read: -* tutorial: A brief tutorial which gives an overview of all the other help topics -* keybindings: Gives a full list of the default keybindings as well as how to rebind them +* tutorial: A brief tutorial which gives an overview of all the other help + topics +* keybindings: Gives a full list of the default keybindings as well as how to + rebind them +* defaultkeys: Gives a more straight-forward list of the hotkey commands and what + they do. * commands: Gives a list of all the commands and what they do * options: Gives a list of all the options you can customize -* plugins: Explains how micro's plugin system works and how to create your own plugins -* colors: Explains micro's colorscheme and syntax highlighting engine and how to create your - own colorschemes or add new languages to the engine +* plugins: Explains how micro's plugin system works and how to create your own + plugins +* colors: Explains micro's colorscheme and syntax highlighting engine and how to + create your own colorschemes or add new languages to the engine -For example, to open the help page on plugins you would press CtrlE and type `help plugins`. +For example, to open the help page on plugins you would run `> help plugins`. -I recommend looking at the `tutorial` help file because it is short for each section and -gives concrete examples of how to use the various configuration options in micro. However, -it does not give the in-depth documentation that the other topics provide. +I recommend looking at the `tutorial` help file because it is short for each +section and gives concrete examples of how to use the various configuration +options in micro. However, it does not give the in-depth documentation that the +other topics provide.