Prompt Input and Editing Tricks | Bondar Academy
Course: Claude Code for Playwright
Module: Core Concepts
Instructor: Artem Bondar
Lesson Summary
The video lesson introduces the Cloud Code user interface, which utilizes a Text-based User Interface (TUI) instead of a traditional graphical user interface (GUI). This can make editing prompts challenging, especially for beginners. Here are some key tips and shortcuts for managing inputs effectively: Editing Prompts Word Navigation: On Mac, use the Option key with arrow keys; on Windows, use the Control key with arrow keys to jump between words. Line Navigation: Use Home and End keys to jump to the start or end of a line. Text Editor: Press Control + G to open a more familiar text editor for detailed editing. New Lines: Use Shift + Enter to create new lines within prompts. Clear Input: Double press Escape to clear the entire prompt. Image Handling Cloud Code allows you to paste images directly into the terminal. For example, you can take a screenshot, paste it, and then query Cloud Code about the image to find relevant sections of code. File References Use the @ symbol to reference specific files or folders in your project. This helps narrow down queries to specific areas, such as tests or settings. Running Scripts To execute a bash script, prefix the command with an exclamation mark, e.g., !npm start . Session Management Stop a session with Control + C twice. Resume a session using Cloud resume followed by the session ID. Open a new session with Cloud to start fresh. Voice Input Cloud Code includes a built-in voice mode that can be enabled for faster input. Hold the space bar while speaking to enter prompts. With practice, users can become proficient in navigating and utilizing the Cloud Code interface effectively.