PDA

View Full Version : Back-key



pal
May 21st, 2012, 10:24 AM
Vedit 6.2 has new function Buf_Last, which can be used to implement "Back" key, similar to Alt-Tab in Windows.
I have configured the key Ctrl-Tab for this purpose. (In the default keyboard configuration Ctrl-Tab performs pretty much the same function as F6)

Replace the old Ctrl-Tab configuration with the following:

Ctrl-Tab [VISUAL EXIT]Buf_Switch(Buf_Last)
Now you can toggle between last two buffers by pressing Ctrl-Tab.

rrkramer
May 29th, 2012, 09:50 AM
That made my day. Thanks.

Richard

Scott Lambert
June 16th, 2013, 01:30 PM
Vedit 6.2 has new function Buf_Last, which can be used to implement "Back" key, similar to Alt-Tab in Windows.


I find it useful to have this a very simple double-click event macro. Here is the setup for an ustartup.vdm file:

Config( F_E_F_MACRO, "Enable file open/close event macros",1)
reg_set(116,"buf_switch(buf_last)")

Since it uses no registers, it is extremely unlikely to interfere with anything else going on.

Scott