We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The global command :g/^$/,/./-1j seems to be wrong since Vim >= 9.0 throws
:g/^$/,/./-1j
E16: Invalid range: ,/./-1j
when I run this example given section Reduce Multiple Empty Lines to One Empty Line. Surprisingly the commands works nevertheless.
There must be another way to specify ranges in the cmd for :g.
A valid alternative to reduce multiple empty lines to only one empty line is
:g/^$/v/./j
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The global command
:g/^$/,/./-1j
seems to be wrong since Vim >= 9.0 throwswhen I run this example given section Reduce Multiple Empty Lines to One Empty Line. Surprisingly the commands works nevertheless.
There must be another way to specify ranges in the cmd for :g.
A valid alternative to reduce multiple empty lines to only one empty line is
:g/^$/v/./j
The text was updated successfully, but these errors were encountered: