Update readme and help

This commit is contained in:
Zachary Yedidia
2016-04-28 15:05:53 -04:00
parent 536c96237c
commit b6195721ac
2 changed files with 7 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ Here is a picture of micro editing its source code.
* True color support (set the `MICRO_TRUECOLOR` env variable to 1 to enable it)
* Search and replace
* Sane defaults
* Plugin system (plugins are written in Lua)
* Undo and redo
* Unicode support
* Copy and paste with the system clipboard

View File

@@ -48,6 +48,12 @@ These are the default keybindings, along with their actions.
* End: Go to end of line
* Ctrl-r: Toggle line numbers
You can use the alt keys + arrows to move word by word.
Ctrl left and right move the cursor to the start and end of the line, and
ctrl up and down move the cursor the start and end of the buffer.
You can hold shift with all of these movement actions to select while moving.
The buffer bindings may be rebound using the `~/.config/micro/bindings.json` file. Each key is bound to an action.
For example, to bind `Ctrl-y` to undo and `Ctrl-z` to redo, you could put the following in the `bindings.json` file.