diff options
Diffstat (limited to 'pkg/gui/keybindings.go')
| -rw-r--r-- | pkg/gui/keybindings.go | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 1d3b8d8..e2b20b3 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -60,6 +60,22 @@ func (gui *Gui) generateKeybindings() error { Vital: false, }, { View: mainViewFeature.Name, + Key: 'k', + Modifier: gocui.ModNone, + Handler: gui.cursorUp, + Display: "k", + Description: "Up", + Vital: false, + }, { + View: mainViewFeature.Name, + Key: 'j', + Modifier: gocui.ModNone, + Handler: gui.cursorDown, + Display: "j", + Description: "Down", + Vital: false, + }, { + View: mainViewFeature.Name, Key: 'b', Modifier: gocui.ModNone, Handler: gui.nextBranch, @@ -147,6 +163,22 @@ func (gui *Gui) generateKeybindings() error { Description: "Page down", Vital: true, }, { + View: commitdetailViewFeature.Name, + Key: 'k', + Modifier: gocui.ModNone, + Handler: gui.commitCursorUp, + Display: "k", + Description: "Page up", + Vital: false, + }, { + View: commitdetailViewFeature.Name, + Key: 'j', + Modifier: gocui.ModNone, + Handler: gui.commitCursorDown, + Display: "j", + Description: "Page down", + Vital: false, + }, { View: cheatSheetViewFeature.Name, Key: 'c', Modifier: gocui.ModNone, |
