While editing a file, I issue the 'gf' command while the cursor is on a file name and the file is opened in the editor. I move around in the newly opened file and issue ctrl-o multiple times to retrace my steps back to the original file where I ran the 'gf' command. How can I return to the original file in one step? I have tried 999ctrl-o, but ctrl-o wants an exact number. I can see the number of steps using :jumps and when I enter ctrl-o with the exact number I get back to the original file, but I am looking for a way to avoid the manual process of getting the number from :jumps and then use that number with ctrl-o.
Saturday, April 7, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment