Skip to content

copilot vim mode :q and :model in normal mode #5442

Description

@LayfonWeller

Describe the feature or problem you'd like to solve

Adding support for some tool calls in vim mode while in "normal" mode

Proposed solution

When not inserting text, in case like we can, in vim, call :wq and :q, it be nice to be able to call certain tools.
:w could send the prompt. Potentially :w queue and other send mode could be supported, but I think that is minor.
:w would be nice, but not required.
:model could be the same as calling /model in the "INSERT" mode (without losing the current message written if any.
:q or :quit would do the same as /quit and /q

So / command that are not skills, but commands that is run without sending anything for interference could be accessed by : when in NORMAL mode.

Commands like :wq doesn't need to be supported as 2 commands to mean : "write then quit".
Only commands that works via "/" in insert can be supported: no new command or command combination are needed.

Example prompts or workflows

  • Start typing a message, realize to forget to change model, return to "normal" mode, change model

  • When message is done , use :w to send.

  • Work with established vim reflex (:q to quit, instead of having to press i to go in "insert" mode, and /quit to quit)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions