On 9/1/2010 5:46:56 PM, Scott Lambert wrote:
>On your TV remote, you
>probably have a button that
>allows you to toggle between
>the current channel and the
>previous channel regardless if
>they are adjacent or not.
>Maybe a later version of
>Vedit, then what I am using,
>already has the ability to do
>this with buffers. If not,
>here is how to give Vedit that
There is no such feature in Vedit yet.
It has been requested for a long time.
That is, Back and Forward buttons that would work like those in web browsers, or like the Alt-Tab button in Windows.
It seems that this has been partially implemented in Vedit.
Looks like Vedit does keep the stack of recently used buffers. If you close a buffer, Vedit switches to whatever buffer was used before that.
I have used this functionality in my Snippets macro.
Before executing the snippet, the snippets window/buffer is closed, so Vedit switches to previous buffer to execute the snippet.
Hopefully, functions for back and forward will be implemented in Vedit soon (as macro command, toolbar buttons and keyboard shortcuts). In addition, it would be nice to have access to the buffer stack from macro language, e.g. like "Previous_Buffer(n)" (similar to Previous_Key).