Vim-like :q alias for exiting

Open Beginner friendly
#2,373 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell
Domain
cli

Research direction

Start by locating the CLI's handling for the existing /exit, /quit, and exit aliases. Add :q with the same exit behavior, then verify in an interactive session that it exits without submitting a prompt request.

Written by the indexing model from the issue text.

Description

area:input-keyboard
Describe the feature or problem you'd like to solve

Old habits die hard and several cli tools have support for :q to exit. Copilot doesn't. It recently added an exit alias (non-slashed) to avoid submitting prompts when wanting to exit copilot. Can we have ":q" as an exit alias on top of (/exit, /quit and exit)

Proposed solution

Increase UX of Copilot Cli by adding a vim-like ":q" alias for exiting. Similar behavior as the "exit" alias, with the purpose of avoiding submitting prompt requests to Copilot when the user wanted to exit instead

Example prompts or workflows

No response

Additional context

No response

Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-cli

All issues in github/copilot-cli

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.