suchnsuch / Tangent

The publicly-available modules of the Tangent project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Be able to customize keyboard shortcuts.

taylorhadden opened this issue · comments

Some thought has already gone into this. Commands already support multiple keyboard shortcuts.

Right now, the handling of shortcuts is spread across at least three different places:

  • App/main process control via electron's menu accelerators.
  • Workspace/Window level control listening for command shortcuts.
  • Editor level control listening for explicit command combos.

These need to be in some way consolidated and normalized. In particular, the editor-level shortcuts are problematic because they are completely detached from the general command mechanism. The way editor functionality handles shortcuts in general needs to be overhauled.

Beyond that, we also need a nice UI for editing this stuff.