Skip to content

feat: add :w and :write actions to send the prompt - #60

Open
Croos3r wants to merge 5 commits into
oribarilan:mainfrom
Croos3r:feat/colon-w-send-prompt
Open

feat: add :w and :write actions to send the prompt#60
Croos3r wants to merge 5 commits into
oribarilan:mainfrom
Croos3r:feat/colon-w-send-prompt

Conversation

@Croos3r

@Croos3r Croos3r commented Jul 28, 2026

Copy link
Copy Markdown

Implementation of the :w and :write actions:

I did not added any tests because :wq was not tested, but I can add some if needed.

The old behavior documented in #59 is now replaced by an exact match with :w so the frustrating :wq cannot be accessed like this.

I took the initiative to update the changelog, but feel free to update it if needed, I can also do it on your instructions.

Croos3r added 5 commits July 28, 2026 14:12
Previously typing :w in the command palette autocompleted to :wq and
quit OpenCode. Vim users hit :w reflexively to save, so map it to the
closest equivalent here: dispatch input.submit. :write is the long form.

The :wq quit command is unaffected.
Copilot AI review requested due to automatic review settings July 28, 2026 13:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Croos3r Croos3r mentioned this pull request Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants