ulyssa / modalkit

A Rust library for building modal editing applications
Apache License 2.0
49 stars 5 forks source link

Support opening and switching between windows #65

Closed ulyssa closed 1 year ago

ulyssa commented 1 year ago

It's currently possible to split existing windows via WindowAction::Split, but opening new content has to be done via WindowContainer::window_open. This makes it difficult to express some keybindings such as gf, and also makes it hard to express some commands (e.g. providing an argument to :sp). The following needs to be done to make opening windows and switching between them easier: