A way to save and quickly use common command line inputs. For example git commands such as:
git.exe pull --progress -v -no-rebase "origin"
Add a Snips folder to the drop down next to tabs at the top. Functionality here would be edit/delete/add/reorder snippets.
From the command line Alt-Shift-
For example
alt-shift-1 Enter would pull the snippet and run it.
You can already edit settings.json to bind Alt+Shift+1 to the sendInput action (https://github.com/microsoft/terminal/issues/3799) with the snippet as a parameter. https://github.com/microsoft/terminal/issues/1564 mentions that key bindings would be part of the settings UI in the future.
Indeed. sendInput is going to be our story for now, and once we get the ability to bind actions into the menu and toolbar and stuff it'll be easy to build up a compendium of snippets.
Gotta ask, though: why not use an alias in your shell? They're way more flexible than a "blast this input into the terminal" button...
Most helpful comment
You can already edit
settings.jsonto bind Alt+Shift+1 to thesendInputaction (https://github.com/microsoft/terminal/issues/3799) with the snippet as a parameter. https://github.com/microsoft/terminal/issues/1564 mentions that key bindings would be part of the settings UI in the future.