mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 23:21:03 +00:00
feat: <c-n> <c-p> list bindings
This commit is contained in:
parent
7e7aadc207
commit
d63984b63f
1 changed files with 2 additions and 0 deletions
|
|
@ -527,9 +527,11 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
|||
{ViewName: viewName, Key: 'k', Modifier: gocui.ModNone, Handler: wrappedHandler(onUp)},
|
||||
{ViewName: viewName, Key: gocui.KeyArrowUp, Modifier: gocui.ModNone, Handler: wrappedHandler(onUp)},
|
||||
{ViewName: viewName, Key: gocui.MouseWheelUp, Modifier: gocui.ModNone, Handler: wrappedHandler(onUp)},
|
||||
{ViewName: viewName, Key: gocui.KeyCtrlP, Modifier: gocui.ModNone, Handler: wrappedHandler(onUp)},
|
||||
{ViewName: viewName, Key: 'j', Modifier: gocui.ModNone, Handler: wrappedHandler(onDown)},
|
||||
{ViewName: viewName, Key: gocui.KeyArrowDown, Modifier: gocui.ModNone, Handler: wrappedHandler(onDown)},
|
||||
{ViewName: viewName, Key: gocui.MouseWheelDown, Modifier: gocui.ModNone, Handler: wrappedHandler(onDown)},
|
||||
{ViewName: viewName, Key: gocui.KeyCtrlN, Modifier: gocui.ModNone, Handler: wrappedHandler(onDown)},
|
||||
{ViewName: viewName, Key: gocui.MouseLeft, Modifier: gocui.ModNone, Handler: wrappedHandler(onClick)},
|
||||
}...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue