Skip to content

[BUG] Help should be shown but it does not show when you remove G keybinding #246

@inigosola

Description

@inigosola

Describe the bug 🐛
Help should be shown but it does not show when you remove G keybinding

To Reproduce 🐣
Steps to reproduce the behavior:

  1. Remove G keybinding: api.keys.set("G", api.no_op)
  2. Exec dooit
  3. Press ?

Expected behavior 🤔
Help should be shown but it does not show.

Desktop): 🤖

  • OS: Mac OS
  • Version 15.6.1

Additional context 📝

@subscribe(Startup)
def setup(api: DooitAPI, _):
    api.keys.set("j", api.no_op)
    api.keys.set("k", api.no_op)
    api.keys.set("d", api.no_op)
    api.keys.set("r", api.no_op)
    api.keys.set("e", api.no_op)
    api.keys.set("=", api.no_op)
    api.keys.set("+", api.no_op)
    api.keys.set("-", api.no_op)
    api.keys.set("_", api.no_op)
    api.keys.set("i", api.no_op)
    api.keys.set("gg", api.no_op)
    api.keys.set("G", api.no_op)  # comment this line and help is shown when you press `?`
    # api.keys.set("J", api.no_op)
    # api.keys.set("K", api.no_op)
    api.keys.set("xx", api.no_op)
    api.keys.set("<up>", api.move_up, "Mover selector hacia arriba")
    api.keys.set("<down>", api.move_down, "Mover selector hacia abajo")
    api.keys.set("<enter>", api.edit_description, "Editar")
    api.keys.set("<delete>", api.remove_node, "Borrar")
    api.keys.set("<alt+up>", api.shift_up, "Desplazar tarea hacia arriba")
    api.keys.set("<alt+down>", api.shift_down, "Desplazar tarea hacia abajo")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions