Skip to content

Vim mode search should act like non-Vim mode when not triggered with / #7692

@shinebayar-g

Description

@shinebayar-g

Summary

When searching with / in Vim mode, hitting enter moves the cursor to the next line in the buffer being searched, matching Vim's behavior. This is at odds with how enter behaves in a non-Vim-mode buffer search, jumping to the next result. We should refine the action here to behave like non-Vim mode unless / is used to start the search.

![image](https://github.com/zed-industries/zed/assets/3091558/31209340-78b2-44bf-bd49-bf19681b973c)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:parity/vimFeedback for Vim parity featuresstate:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions