Skip to content

In helix_normal mode, alt+C is incorrectly reducing number of cursors #33637

@mathroc

Description

@mathroc

Summary

Summary

When using the helix_normal mode, Alt+C should create a new cursor at the next suitable line above the cursor, but if multiple cursors were creating before (with C) it will first revert them.

Description

Steps to reproduce:

  1. In helix_normal mode, place your cursor in a bloc of text with a few lines before and after
  2. press C twice to create 2 more cursors
  3. press Alt+C twice

Expected Behavior: there should be 5 cursors, 2 after the initial line, 2 before the initial line, an the "main" cursor on the initial line
Actual Behavior: only one cursor at the initial position

Zed Version and System Specs

Zed: Preview 0.193.2 (4961830)
OS: Linux
Memory: 32 GiB
Architecture: amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions