Skip to content

Commit

Permalink
Update keybinding docs
Browse files Browse the repository at this point in the history
Also updates the pane type of `info` to `command` which is a more
descriptive name.
  • Loading branch information
zyedidia committed Sep 6, 2020
1 parent 4ac511b commit 5044ccf
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/action/bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

var Binder = map[string]func(e Event, action string){
"info": InfoMapEvent,
"command": InfoMapEvent,
"buffer": BufMapEvent,
"terminal": TermMapEvent,
}
Expand Down
2 changes: 1 addition & 1 deletion internal/action/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5044ccf

Please sign in to comment.