ulyssa / modalkit

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

Want TUI example using both Vim and Emacs bindings #49

Closed ulyssa closed 1 year ago

ulyssa commented 1 year ago

I added support for recalling previous entries to ReadLine in #30, but didn't add it to CommandBarState. I'd like to make sure that I have an easy to access example of using the components within the widgets module with the different keybinding environments, so I'm going to add a simple in-memory text editor example. I'm also going to add a MixedBindings type that can wrap the Vim and Emacs keybindings to allow determining which one gets used at runtime.