Skip to content

Commit 5044ccf

Browse files
committed
Update keybinding docs
Also updates the pane type of `info` to `command` which is a more descriptive name.
1 parent 4ac511b commit 5044ccf

File tree

4 files changed

+113
-7
lines changed

4 files changed

+113
-7
lines changed

internal/action/bindings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
var Binder = map[string]func(e Event, action string){
20-
"info": InfoMapEvent,
20+
"command": InfoMapEvent,
2121
"buffer": BufMapEvent,
2222
"terminal": TermMapEvent,
2323
}

internal/action/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var termdefaults = map[string]string{
99
// DefaultBindings returns a map containing micro's default keybindings
1010
func DefaultBindings(pane string) map[string]string {
1111
switch pane {
12-
case "info":
12+
case "command":
1313
return infodefaults
1414
case "buffer":
1515
return bufdefaults

0 commit comments

Comments
 (0)