Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 81
    We do not deserve Tim Pope. Commented May 23, 2019 at 19:47
  • 3
    This plugin doesn't seem to work for me. If I a word like BadJob and I want to replace it with GoodJob, I can't use %S/badjob/goodjob/g. It fails to detect a match. Commented Jul 16, 2019 at 23:47
  • 1
    @Roymunson What you need to do is this: %S/BadJob/GoodJob/g, then the Subvert command will switch to mixed-case mode and will do all the substitions as given by OP. Commented Apr 26, 2020 at 22:53
  • @shivams Does the presence of mixed case anywhere in the arguments to %S activate mixed-case mode, or does the input argument BadJob need to literally match the thing you're trying to replace? The former seems like strange ux, and the latter seems to defeat the purpose. Commented Aug 12, 2021 at 2:45
  • With this answer, how would abolish know to capitalise the 'J' in GoodJob? I would imagine at the very least one needs %S/BadJob/GoodJob/g Commented Nov 14, 2022 at 11:23