I want to sort the paragraphs in my text according to their initials with the following global command:
g/_p/,/^$/mo$
This works alone. But when I use several global commands at once, then an error occurs:
g/_p/,/^$/mo$|g/_w/,/^$/mo$
This gives the following error:
Cannot do :global recursive
How can I run these commands sequentially at once?
To append more
globalcommands, just keep wrapping them inexecute:The reason for the error is in
:help:bar:This also answers why the below chain would work without any issues: