Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [search-replace]

The tag has no usage guidance.

1 question with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
-1 votes
1 answer
55 views

How do I substitute literal [ followed by whitespace, then comma with just [

I'm writing a vimscript function to edit some ruby code. The line to be edited looks like this foo = [ , "something" ] And I want to remove the extraneous leading comma, so the line ...
Leonard's user avatar
  • 99