title: How does vi editor remember current line of the previous file
body: <p>Suppose I am reading a file in vi editor. I am at line number 50 and I quit. After some time I reopen the file in vi editor. I notice that the cursor is at the same line where I was before closing the file.
  How does VI editor remember this?</p>