According to, the {-} construct will do a non-greedy match. I've been searching for this for a long time. For instance, let's say I have used inline quotes for a Markdown doc and I want to change them to bold using HTML syntax. In other words go from this:


to this


I can use this Vi command: