Summary
In this chapter, we've done a deep dive into the various keybinding options available in Windows Terminal.
We started out with the built-in Windows Terminal commands and learned about the structure of adding actions, passing parameters, and associating them with keybindings.
We then learned how to send arbitrary input to our shells using the sendInput
command. This enabled us to rapidly perform tasks across multiple shells, like changing to common directories or running frequently-used Git commands.
Finally, we discussed the wt
command, which allowed us to create custom commands for manipulating Windows Terminal's tabs and panes. This same technique could be used when launching Windows Terminal via command-line parameters.
This chapter has served as our introduction to actions in Windows Terminal. In the next chapter, we'll investigate some useful but hidden actions available in Windows Terminal.