Skip to content

Fix "cW" to match "cw" semantics. #12791

Description

@linsomniac

Current "master" branch has this issue: On "T" of "This is a test", "cw" leaves the space before "is" and "cW" remove the whitespace. zsh and bash and vim all leave the whitespace. 02c0455 fixed this for "cw" but not "cW". Discussion in #12788

Version: fish, version 4.7.1 (also seems to be in master)
uname: Linux seansxps15 6.18.31 #1-NixOS SMP PREEMPT_DYNAMIC Fri May 15 12:52:18 UTC 2026 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions