Skip to content

Toggle Line Comment changes when vim mode enabled #28979

Closed
@davekaro

Description

@davekaro

Summary

In 0.181.8 and before, with vim_mode: true, the default keyboard shortcut for Toggle Line Comment (seen in the Edit menu) on macOS is cmd-/, but starting in 0.182.9 that changed to ctrl-c.

Description

Steps to reproduce:

  1. Install 0.181.8, set vim_mode: true in settings.json, view Edit -> Toggle Line Comment, observe it shows cmd-/. Set vim_mode: false, it stays the same.
  2. Install 0.182.9 or 0.182.10, set vim_mode: true, view Edit -> Toggle Line Comment, observe it shows ctrl-c. Set vim_mode: false, it changes to cmd-/.

Expected Behavior: The shortcut for Toggle Line Comment does not change when turning vim_mode on or off.
Actual Behavior: The shortcut changes based on whether vim_mode is on or off.

Zed Version and System Specs

Zed: v0.182.10 (Zed)
OS: macOS 15.4.1
Memory: 36 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions