How do I change until the next underscore in VIm?
Problem
If I have this text in vim, and my cursor is at the first character: I know that I can do: to change up to the first period, because a (lowercase w) ends at any punctuation OR white space to change the whole address, because a (uppercase w) ends only at whitespace Now, what if I have this: and want to change it to this? Both and change the whole thing, but I just want to change the fragment before the underscore. My fallback technique is , meaning 'change until you hit the next underscore in a search,' but for me, that also causes all underscores to be highlighted as search terms, which is slightly annoying. Is there a specifier like or that doesn't include underscores?
Error Output
www.foo.com
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How do I change until the next underscore in VIm?
You can do . f won't highlight the searched character. You can also do if you don't want to include the _.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix