Windows Terminal is a very versatile shell for Windows that allows you to run CMD, PowerShell, or Linux in WSL2. The terminal also supports tabs.
To switch between tabs, you can use:
- CTRL+Tab – switch to the next tab
- CTRL+Shift+Tab – switch to the previous tab
If you’d like to use your own keyboard shortcuts, like CTRL+PgUp and CTRL+PgDown, simply open Settings with CTRL+, and select Actions from the left pane.
Find the Next tab item and set it to ctrl+pgdn.
Find the Previous tab item and set it to ctrl+pgup.
You can also edit the configuration in JSON. Add the following code to the actions section:
"actions": [ ... { "command": { "action": "nextTab" }, "id": "User.nextTab.0", "keys": "ctrl+pgdn" }, { "command": { "action": "prevTab" }, "id": "User.prevTab.0", "keys": "ctrl+pgup" } ], ... ]
Do not forget to click Save to apply the changes.