Keyboard shortcuts (instead of using your mouse/trackpad) tend to be a much faster way of doing things once you get familiar with them! Here are some of the most useful keyboard shortcuts in SolveIt.
Moving around
You can move from message to message using the ▲ and ▼ arrow keys. Use the ▼ arrow to go down a few messages from here.
Running messages
To run a message, you can click on the play/triangle icon with your mouse:
OR you could use your keyboard. There are several different ways to run messages:
⌘ + return(on a Mac) orctrl + return(on Windows): Run Message⌥ (option) + return: Run Message & Insert Message Below⇧ (shift) + return: Run Message & Select Message Below
The way I remember these is that Shift and Select both start with the letter S. Option and Insert both start with vowels.
Try running the following 3 code messages using ⇧ (shift) + return (Hint: ⇧ (shift) + return automatically moves to the next one, so you don't need to use the arrow keys!)
x = 4 * 3
y = x ** 2 # ** means exponentprint(y)144
When you are inside the editor, you can use your mouse to click "submit" (which will execute python code or send your prompt to the AI, depending on the message type). Or you can hit the red X to close the editor without executing the code/sending the prompt to AI. Both the Submit and the red ❌ will save what you wrote in the editor.
The 3 keyboard shortcuts I listed above for running messages also work in edit mode! You can use them instead of clicking "Submit":
⌘ + return(on a Mac) orctrl + return(on Windows): Run Message⌥ (option) + return: Run Message & Insert Message Below⇧ (shift) + return: Run Message & Select Message Below
The esc (escape) key has the same effect as clicking the red ❌.
Adding new messages
Pressing a (while in selection mode) creates a new blank message above your current message and opens the editor for you! Try it now. Use a to create a new message above this one and write your favorite animal in it.
Pressing b creates a new blank message below your current message and opens the editor for you. Create a new message below this one and write your favorite city in it.
Copying, Cutting, and Pasting Messages
The following shortcuts can be useful for moving messages around in your dialog.
c: copies the message currently selectedx: cuts the message currently selectedv: pastes the message that you most recently cut or copied
Try these out! Use the arrow keys to navigate up to the message with your favorite animal. Press c to copy it. Then use the arrow keys to navigate back down to this section and press v to paste it.
Next, use the arrow keys to navigate to the message with your favorite city. This time, use x to cut that message. Use the arrow keys to navigate back here and v to paste it into this section.