You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NextWordStart and NextSubwordStart appear to treat punctuation differently. NextWordStart stops at punctuation, NextSubwordStart ignores punctuation and goes to the next word after a space
Steps to trigger the problem:
In a new file, with vim mode active, enter the text "word, next"
In normal mode, with your cursor somewhere in "word", visually select or delete with NextWordStart and NextSubwordStart
Notice the behavior is different
Actual Behavior:
From this starting point:
delete NextWordStart (does as I expect and deletes up until the comma)
delete NextSubwordStart (deletes past the comma up until the next word separated by whitespace)
Expected Behavior:
They should behave the same in this case (I'd expect the NextWordStart behavior).
My context stack tells me that they're using equivalent commands (the vim operator in the context is incorrect as it changes when I set up the screenshot command; it should be d):
Summary
NextWordStart and NextSubwordStart appear to treat punctuation differently. NextWordStart stops at punctuation, NextSubwordStart ignores punctuation and goes to the next word after a space
Steps to trigger the problem:
Actual Behavior:
From this starting point:
delete NextWordStart (does as I expect and deletes up until the comma)
delete NextSubwordStart (deletes past the comma up until the next word separated by whitespace)
Expected Behavior:
They should behave the same in this case (I'd expect the NextWordStart behavior).
My context stack tells me that they're using equivalent commands (the vim operator in the context is incorrect as it changes when I set up the screenshot command; it should be
d
):Word:
Subword

Zed Version and System Specs
Zed: v0.174.6 (Zed)
OS: macOS 14.6.1
Memory: 16 GiB
Architecture: aarch64
The text was updated successfully, but these errors were encountered: