add documentation about difference for Linux keybindings. Add Cmd-P and Cmd-R

This commit is contained in:
sawka
2024-02-07 17:12:13 -03:00
parent a84dde0e6b
commit 3e67b000e5
+5 -1
View File
@@ -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