Undo Close tab/lister (like chrome or firefox)

I'd like to set ctrl+shift+t to undo closing the last tab or lister, the way chrome or firefox does. Is this possible in DOPUS 13?

Ideally, the last item closed whether it was a tab or liter, gets restored entirely. I am able to reopen a closed lister or closed tab individually, but is there any way to konw what the last closed thing was whether it's a tab or liter?

That's almost the default:

I don't think it's built in, but you can use the OnCloseTab and OnCloseLister events to keep track.

Weird! I don't have those same keyboard shortcuts also yeah my main question is having it undo the latest closed item whether its a lister or a tab

If your menus don't match the current defaults (e.g. due to being from a much older version, or being edited), you can get them via the Customize dialog's Default Toolbars tab.

Actually, it's the hotkeys that don't match the above poster's defaults. And I don't see a way to reset those to the factory default. There is an import button though. Is there a default set I can import to start from square one?

The hotkeys are part of the default menu items, which you can drag out of the Customize window.

I have a pretty good WIP that uses a stack to keep track of whether or not a tab or lister was closed and pops the latest item and runs the builtin function to reopen the lister or tab. The problem is, when I reopen a lister, it wipes away the entire closed tab history

Also it appears only the most recently closed tab is tracked. Does DOPUS only maintain the single recently closed tab and lister? Is there a way to view this history from within a script?

Please take a look at

1 Like

Amazing, thank you for linking me. I'll have to see if it works with reopening listers but if not, it's a better start than I have now!