Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

[Feature] More flexible keybinds #38

@gplusplus314

Description

@gplusplus314

I'm honestly really loving this terminal so far. It's shockingly good and fills the niche I happen to be part of: native Windows development while also having to cycle between Linux and Mac.

Feature Request

It would be nice to bind keys with and without leaders. In fact, I think this should be generalized to any arbitrary sequence of keys, similar to Vim keybinds. This would also open the door for other QOL enhancements, such as "which-key" types of menus often found in NeoVim configs.

One way to accomplish this from a configuration perspective could be something like this hypothetical config.js:

keybinds:  [
  { keys: ['leader', 'c'], action: 'createTab' },
  { keys: ['alt+w'], action: 'closeTab' },
]

Not a priority, but action could be generalized down the road to accept arbitrary JS functions, too. I'm not tied to this schema, I was just giving an example to illustrate the point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions