I'd like to add the ability to run more complex functions on the selected windows, inspired by the Emacs packages avy and ace-window.
In short, in addition to the list of hint characters,sadfjklewcmpgh, there is also some (user configurable) HashMap of functions acting on the window, for example, {"x": wm::WindowCommand::Kill, "F": wm::WindowCommand::FloatToggle}. Then pressing the key d would jump to window d as usual, but xd would instead kill window d.
I've got a basic implementation of this working, if you're interested in a pull request?
I'd like to add the ability to run more complex functions on the selected windows, inspired by the Emacs packages avy and ace-window.
In short, in addition to the list of hint characters,
sadfjklewcmpgh, there is also some (user configurable) HashMap of functions acting on the window, for example,{"x": wm::WindowCommand::Kill, "F": wm::WindowCommand::FloatToggle}. Then pressing the keydwould jump to windowdas usual, butxdwould instead kill windowd.I've got a basic implementation of this working, if you're interested in a pull request?