Update keybinding docs

Also updates the pane type of `info` to `command` which is a more
descriptive name.
This commit is contained in:
Zachary Yedidia
2020-09-06 17:38:23 -04:00
parent 4ac511b597
commit 5044ccf6bb
4 changed files with 113 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ import (
)
var Binder = map[string]func(e Event, action string){
"info": InfoMapEvent,
"command": InfoMapEvent,
"buffer": BufMapEvent,
"terminal": TermMapEvent,
}

View File

@@ -9,7 +9,7 @@ var termdefaults = map[string]string{
// DefaultBindings returns a map containing micro's default keybindings
func DefaultBindings(pane string) map[string]string {
switch pane {
case "info":
case "command":
return infodefaults
case "buffer":
return bufdefaults

File diff suppressed because one or more lines are too long