I was looking for a way to show a bit of context around my searches when doing
When I stumbled across this page Search-a-pattern-and-provide-a-context-few-lines-above-and-below where someone mentions the mysterious (to me) search flag 'z'. As in
My initial research suggests it some sort of 'total number of lines returned per result' but setting it to
z#.2 only shows one line per search result. So I am confused and I'm having trouble finding the docs under
So here are my questions:
- What does the
- How does
- Where in the docs can I find this information?