Sample Header Ad - 728x90

figuring out location in a document using vim.

1 vote
1 answer
438 views
I have a large text file, part of which I am trying to edit in vim. I use / to search/grep through the exact string (it's an sgml file) and I do find it somewhere. During the search it tells me where the pattern is in relation to the length of the document (25-30% or more) but once I take out the pattern, there is no way to tell how big the document is. Is there a way, maybe some configuration variable or something that I need for vim to parse and share with me the location in percentage form whenever I'm in the document.
Asked by shirish (12954 rep)
Jan 6, 2017, 07:09 PM
Last activity: Jan 6, 2017, 07:32 PM