Skip to main content

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.

Required fields*

5
  • Your "Minimal Verifiable Solution" does not work for me. I get errors like E492: Not an editor command: bash -c \\ . I tested Vim 8.2.869 and NVIm v0.5.0-577-g48ac77a14 on Linux. Commented Jun 27, 2020 at 19:48
  • The double backslash in the above comment is a typo. Should be single. Commented Jun 27, 2020 at 21:39
  • @Ralf should work now. Commented Jun 28, 2020 at 13:59
  • @Ralf it turns out that you can put the first slash in the \\| escape sequence at the end of the prior line. That should have implied that it could be used at the end of the prior line for all lines, but it did not. That seems like a bug. In my code, I have the remapping on one line; the original formatting was only for stack overflow. So, tbh, it was content that I really didn't care about, but, as always, spent the most time on in stack exchange. Commented Jun 28, 2020 at 14:00
  • 1
    Nice find. This trailing backslash looks really strange. Commented Jun 29, 2020 at 4:46