Interactive command which, when run, prompts you for
- a key binding
- buffer name which has a comint terminal
- commands; submitting an empty string stops prompting for more commands
And that’s it! Now, entering the key sequence runs the commands in the designated buffer.