diff --git a/README.md b/README.md index 2808680..bac3d05 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ List of shortcuts: |``|previous page| |``|page up| |``|page down| +|``|alias to next page| +|``|alias to previous page| |``|visit highlighted coin on CoinMarketCap| |``|alias to `` |`j`|alias to ``| diff --git a/bin/cointop32.REMOVED.git-id b/bin/cointop32.REMOVED.git-id deleted file mode 100644 index 0ef2d3b..0000000 --- a/bin/cointop32.REMOVED.git-id +++ /dev/null @@ -1 +0,0 @@ -ed65aa79a4f28f144b4b21c2481224f0466a5181 \ No newline at end of file diff --git a/bin/cointop64.REMOVED.git-id b/bin/cointop64.REMOVED.git-id index 3e34b1f..45894b3 100644 --- a/bin/cointop64.REMOVED.git-id +++ b/bin/cointop64.REMOVED.git-id @@ -1 +1 @@ -7410bf82087f7933ba1f4b27e49187dca72d6436 \ No newline at end of file +1fb6572621a90e9cef241767aadc51ff565d6edf \ No newline at end of file diff --git a/cointop/keybindings.go b/cointop/keybindings.go index 496d70f..7c82127 100644 --- a/cointop/keybindings.go +++ b/cointop/keybindings.go @@ -22,7 +22,9 @@ func (ct *Cointop) setKeybinding(key interface{}, callback func(g *gocui.Gui, v func (ct *Cointop) keybindings(g *gocui.Gui) error { ct.setKeybinding(gocui.KeyArrowRight, ct.nextPage) + ct.setKeybinding(gocui.KeyCtrlN, ct.nextPage) ct.setKeybinding(gocui.KeyArrowLeft, ct.prevPage) + ct.setKeybinding(gocui.KeyCtrlP, ct.prevPage) ct.setKeybinding(gocui.KeyArrowDown, ct.cursorDown) ct.setKeybinding('j', ct.cursorDown) ct.setKeybinding(gocui.KeyArrowUp, ct.cursorUp)