On 06/06/09 17:47, Wu, Yue wrote: > > On Thu, 04 Jun 2009 06:36:57 +0800, Wu, Yue<[email protected]> wrote: > >> I want the<C-]> and<C-t> work like forward/backward in web browser, so >> for >> example, when I hit<C-]>, if the tag is in current buffer, then vim >> jumps to it >> as normal, if not, then vim will bwipeout the current buffer and jump to >> the tag >> buffer. >> > > Hi, any suggestions? >
No, but you're mistaken if you think that that's what web browsers do. When you click a link in a web browser, the browser saves the current page in its cache before loading the new page, and it's from the cache, not from the web, that it gets the page back when you click the Back / Forward buttons. Even for a local file: I've noticed many times that loading a file:/// or http:// URL by means of the Back-button rolldown loads it the way it was when I last accessed it in the browser, not necessarily the way it is now. To see it the way it is now, I have to click the Reload button thereafter. FWIW, the browser I use most is also my mail client; today its user-agent string (giving version etc.) is: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1pre) Gecko/20090606 SeaMonkey/2.0b1pre Best regards, Tony. -- Experience is what you get when you were expecting something else. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
