Is it possible to allow creating a custom quick edit with a predefined prompt? For example, I frequently need to rewrite sections of code. It would be helpful to create a custom quick edit with a preset prompt like “Rewrite the code…” I could then assign a keyboard shortcut to this action. When I select a portion of code and press the shortcut, it would automatically run the quick edit using the custom prompt—essentially replicating the behavior of pressing Command+K, entering the prompt manually, and hitting Enter.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Ability to add custom snippets / shortcuts to commonly used | 4 | 1480 | February 24, 2024 | |
Keybind setting to "Submit Edit" in Command+K and Chat | 5 | 386 | January 7, 2025 | |
Custom prompt shortcut | 0 | 42 | April 22, 2025 | |
Custom keyboard binding to prompt about my code | 0 | 36 | April 18, 2025 | |
Feature request: We should be able to select the code, followed by a keyboard shortcut to explain the selected part | 0 | 26 | November 11, 2024 |