From 3e67b000e5681003f3bc20c1c6ca88bc36366165 Mon Sep 17 00:00:00 2001 From: sawka Date: Wed, 7 Feb 2024 17:12:13 -0300 Subject: [PATCH] add documentation about difference for Linux keybindings. Add Cmd-P and Cmd-R --- reference/keyboard.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reference/keyboard.mdx b/reference/keyboard.mdx index 1cc69b9..cba9f82 100644 --- a/reference/keyboard.mdx +++ b/reference/keyboard.mdx @@ -2,6 +2,8 @@ title: Keyboard Shortcuts --- +Most of Wave's global keyboard shortcuts use Cmd/Alt because we generally try to reserve the Ctrl key for interacting with terminal commands directly or for system shortcuts like Copy, Paste, Select All, etc. The shortcuts listed in the chart below are for MacOS. Linux/Windows keybindings use `Alt` in place of `Cmd`. + ## Global Keys * **Cmd-I** - focus the command-input @@ -11,6 +13,9 @@ title: Keyboard Shortcuts * **Cmd-[** - move one tab left * **Cmd-]** - move one tab right * **Cmd-W** - close the current tab +* **Cmd-P** - open tab switcher (quickly switch to a new tab by name) +* **Cmd-R** - restart currently selected command (command does not need to be focused, just selected) +* **Cmd-Shift-R** - restart last visibile command in current tab * **Cmd-UpArrow** or **Cmd-PageUp** - move selected command up * **Cmd-DownArrow** or **Cmd-PageDown** - move selected command down * **Cmd-[digit]** - select nth tab @@ -62,7 +67,6 @@ Note that these keybindings only function when the command is no longer running. * **Page-Down** - scroll one page down * **Cmd-D** - delete command block - ## When AI Help for Writing Commands is Open * **ESC** - close help