Hi, SHANKAR R-R66203 wrote: > > When I open a particular file, I want to clear all the jumplist. > How do I do that ? Is there any function when called clears the > jumplist.
I don't think there is a function for this. The best way I could think of is to set the jumplist to the same (current) position 100 times :let i = 0 | while i < 100 | mark ' | let i = i + 1 | endwhile See ":help jumplist" for a reason for using the magic number 100. Regards, Jürgen -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin)
