Find a way to let the user fill any data-form.
Disable the "normal" input at the bottom of the window.
Each line has « Field Label: empty input » Where "Field Label" is a read-only text and the input is a InputWindow class that can be edited like the normal input (except it doesn't have history)
You move through all the empty inputs with ↑↓ (The currently selected input has a different color from the others)
Tabs or Enter (and Ctrl+J and Ctrl+M) goes to the next field (if any)
You can validate the form with Ctrl+Y, cancel it with Ctrl+G
A little help message (keyboard shortcut, etc) should be at the place of the "normal input" (with a special color), and the name of the data-form (where it is from, what is its goal… Something like "Configuration of room email@example.com")
Canceling or Validating the form should close entirely the tab (after a little delay?)