2

searchpair or searchpairpos works only on current buffer.

Are there similar functions work on string instead of buffer?

  • Good Question I just implemented it manually – Ralf Apr 13 at 11:56
  • I did something similar a couple of months ago. I have only recently found this function by accident. – dedowsdi Apr 13 at 12:59
  • Well, if there were and they didn't have a name containing 'searchpair' then the dev should be ashamed of themselves. – B Layer Apr 14 at 7:19
  • No, as far as I know not possible. – Christian Brabandt May 10 at 5:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.