update keybindings

This commit is contained in:
2023-08-27 11:27:09 +02:00
parent c109904f1a
commit 0f4d775686

View File

@ -1349,38 +1349,40 @@ Chance operators returning a boolean value are also available:
const shortcuts: string = ` const shortcuts: string = `
# Keybindings # Keybindings
Topos is made to be controlled entirely with a keyboard. It is recommanded to stop using the mouse as much as possible when you are _live coding_. Here is a list of the most important keybindings: Topos is made to be controlled entirely with a keyboard. It is recommanded to stop using the mouse as much as possible when you are _live coding_. Some of the keybindings might not work like expected on Windows/Linux. They all work on MacOS. A fix is on the way. Here is a list of the most important keybindings:
## Transport ## Transport
- **Start** the transport: ${key_shortcut("Ctrl + P")}. | Shortcut | Key | Description |
- **Pause** the transport: ${key_shortcut("Ctrl + S")}. |----------|-------|------------------------------------------------------------|
- **Rewind** the transport: ${key_shortcut("Ctrl + R")}. |**Start** transport|${key_shortcut("Ctrl + P")}|Start audio playback|
|**Pause** the transport |${key_shortcut("Ctrl + S")}|Pause audio playback|
|**Rewind** the transport|${key_shortcut("Ctrl + R")}|Rewind audio playback|
## Moving in the interface ## Moving in the interface
- Switch to a different universe: ${key_shortcut("Ctrl + B")}. | Shortcut | Key | Description |
- Switch to the global script: ${key_shortcut("Ctrl + G")} or ${key_shortcut( |----------|-------|------------------------------------------------------------|
"F10" |Universe switch|${key_shortcut("Ctrl + B")}|Switch to a new universe|
)}. |Global Script|${key_shortcut("Ctrl + G")} or ${key_shortcut("F10")}|Switch to global script |
- Switch to the local scripts: ${key_shortcut("Ctrl + L")} or ${key_shortcut( |Local scripts|${key_shortcut("Ctrl + L")} or ${key_shortcut("F11")}|Switch to local scripts |
"F11" |Init script|${key_shortcut("Ctrl + L")}|Switch to init script|
)}. |Note File|${key_shortcut("Ctrl + N")}|Switch to note file|
- Switch to the init script: ${key_shortcut("Ctrl + L")}. |Local Script|${key_shortcut("F1")} to ${key_shortcut("F9")}|Switch to a specific local script|
- Switch to the note file: ${key_shortcut("Ctrl + N")}. |Documentation|${key_shortcut("Ctrl + D")}|Open the documentation|
- Switch to a local file: ${key_shortcut("F1")} to ${key_shortcut("F9")}.
- Toggle the documentation: ${key_shortcut("Ctrl + D")}.
## Evaluating code ## Evaluating code
- Evaluate the current script: ${key_shortcut("Ctrl + Enter")}. | Shortcut | Key | Description |
- Evaluate a local script: ${key_shortcut("Ctrl + F1")} to ${key_shortcut( |----------|-------|------------------------------------------------------------|
"Ctrl + F9" |Evaluate|${key_shortcut("Ctrl + Enter")}| Evaluate the current script |
)}. |Local Eval|${key_shortcut("Ctrl + F1")} to ${key_shortcut("Ctrl + F9")}|Local File Evaluation|
## Special ## Special
- Switch the editor to Vim Mode: ${key_shortcut("Ctrl + V")}. | Shortcut | Key | Description |
|----------|-------|------------------------------------------------------------|
|Vim Mode|${key_shortcut("Ctrl + V")}| Switch between Vim and Normal Mode|
`; `;
return { return {