8000 Add `unbind` command that supports the syntax of `bind` · Issue #3034 · newsboat/newsboat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add unbind command that supports the syntax of bind #3034
Open
@Minoru

Description

@Minoru

#3013 finally made the new bind command available. Its tests demonstrate that unbind-key can remove bindings created by bind, but it works a little weird IMHO because:

  1. the syntax for bind and unbind-key is different
  2. bind can create multi-key bindings, but unbind-key doesn't support that and unbinds a binding that starts with a given key.

Dennis points out :

However, given that the default configuration only contains single-key bindings, I don't see much of a reason for wanting to unbind a specific multi-key key-sequence.

I agree it's not a release-blocking issue, but I still think it's important to have a working unbind, because that enables users to modify bindings on the fly. It might be totally wacky, but I think one can actually implement a modal interface a la Vim by dynamically changing the bindings (with some very long macros :)

So I suggest we add unbind, which is the same as unbind-key but accepts the bind syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis issue proposes a new feature or an improvement to an existing oneto considerThis enhancement is put on a back-burner and may need further discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0