Categories
Tags
Astro Automation Camping changelog clear CLI Codex compact Component Design Configuration context Context Copilot copy Ctrl+S CUDA Cursor Day Trip delegate diff Dynamic Routing Editor Error Error Fix Error Handling experimental Gemini git GitHub GitHub Copilot Google Hiking Hot Springs init Installation Iwate Prefecture Kobe Linux Mac Mention Meteor Shower Mode Switching model Nara Prefecture NoAdapterInstalled Node.js nvm OpenAI params plan PowerShell Prompt props Public Key Authentication Python Redirect research rewind SEO share Shell Execution Shift+Tab Shortcut SSH SSH config ssh-copy-id Stargazing Static Site streamer-mode Student undo Update usage Visual Studio VS Code VS2026 Windows WSL
142 words
1 minutes
How to Run a Command While Keeping Your Input in GitHub Copilot CLI【Ctrl+S】
Overview
Ever been writing a long prompt in Copilot CLI and thought “I want to run this, but I don’t want to lose what I typed in case I need to tweak it”?
Ctrl+S sends your prompt but keeps the text in the input field. No more retyping.
Usage
While typing a prompt, press Ctrl+S instead of Enter.
With Enter, the prompt is sent and the input field is cleared. With Ctrl+S, the prompt is sent but your text stays put.
When to Use It
| Scenario | Why it helps |
|---|---|
| Iterating on a long prompt | Tweak and re-send without retyping |
| Running a check mid-edit | Your draft is preserved |
| Experimenting with variations | Easily modify and retry |
Ctrl+S vs. Enter
| Key | What happens |
|---|---|
Enter | Send prompt, clear input |
Ctrl+S | Send prompt, keep input |
A small thing, but once you know about it, you’ll wonder how you lived without it.
Related Posts
How to Run a Command While Keeping Your Input in GitHub Copilot CLI【Ctrl+S】
https://naonao-na.com/en/posts/github-copilot-cli-ctrl-s/
