New "subword" text object will treat -
, _
as delimiters and operates on parts of camelCase
#12005
Unanswered
NikitaRevenco
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a text object like
iw
but it also treats_
,-
as word delimiters and operater only on a part of camelCase.Examples, with cursor at *:
mird
mird
mard
mird
mird
mard
mard
mird
mird
mard
mard
Otherwise, it will act just like
iw
oraw
The choice to use
r
to represent this textobject is arbitrary and can be changedBeta Was this translation helpful? Give feedback.
All reactions