View Full Version : Option to reorder the window tabs in alphabetical order

August 17th, 2011, 05:04 PM
I'm a licensed user of Vedit (since mid 80's).
I would like a option on

Edit | Sort | Window Tabs

which would reorder the window tabs in alphabetical
order rather than by buffer number.

The reason this would be nice is when I finish editing
a bunch of files in a vedit session, while it is still
open I might want to copy these files in the Windows
Explorer somewhere else. If I were able to read left to
right in alphabetical order I could select them in the
explorer faster while reading the tabs left to right.


John Small
(Posted by Greenview from an emailed suggestion)

August 17th, 2011, 05:11 PM
That is a good suggestion that should be reasonably easy to implement.
I suspect a right-click on any tab with "Sort alphabetically" or "Sort by buffer" is the way to do it.

I have noticed that newer browsers (Firefox and Chrome) let you drag and drop the tabs into any desired order; Chrome seems to do it nicer. I'll add that to the suggestion, but that looks more difficult to implement.


August 19th, 2011, 01:58 PM
You could use the "Open" tab in File Selector panel.
It displays list of open files sorted alphabetically by the pathname.

BTW, Ted, one problem with the Open files list is that it displays full pathname, which may be long.
In order to see the filename, you may need to scroll the panel window horizontally, or to increase the panel with a lot.
It would be nice if you could toggle between the full path and filename-only display.
(The same goes with the other tabs in File Selector, too.)

But, indeed, an option to sort the tabs alphabetically would be very nice.
I think there should be 3 options:
sort by buffer number
sort by filename
sort by full path

Option to manually choose the order could be the fourth option.
Preferably such way that the custom order would be remembered even if you switch to other order and then return to custom order.

Currently, the order of the files in buffers depend on the order on which you opened the files.
If you have many files open, it may be difficult to find a specific file.
It would be nice to be able to manually sort the files into some logical order.

For this purpose, I have made a macro swap_buffers.vdm.
The macro allows you to swap two files between the buffers (tabs).
I will upload this macro to the Macro Library conference.


January 10th, 2012, 09:47 AM
Yes,I thing you given a good suggestion..This is very helpful post given..I am glad to be visit such a informative thread.