Skip to content

CamelHump treatment for alt-[arrows] keys #2

@jennjwang

Description

@jennjwang

Describe the feature

When navigating code, navigating using option-arrow command is a big part of the process.
I'm coming from JetBrains' IDEs and having the editor treat _ (underscores) as word separators is a very important part when it comes to languages where snake_case is the syntax.

In JetBrains editors, the setting is called Settings|Editor|Smart keys|Use "CamelHumps" words CamelHump. Which treats names such as thisFeature as two words: this|Feature and this_feature as two words: this|_|feature (| indicating where the cursor stops when navigating with opt-arrow).

Thank you.

Environment

Zed: v0.162.5 (Zed)
OS: macOS 15.1.1
Memory: 64 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions