Like the title, What is the meaning of # in :g/pattern/z#.5.

:g/pattern/z#.5 and :g/pattern/z.5return the same output for me.

In addition, If I want to help description of # with :h command, how to find it?

:h # seems to show another description which is about search.


in this context z.5 and z#.5 are identical. You find the help under :help :#

  • 1
    They are not identical if set nonumber.
    – Mass
    Jan 6 '18 at 16:33

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.