Being able to restore tabs is a common feature that most web browsers provides to their users and could come in handy for some users of Nautilus since it’s much easier to restore the tab than navigating again to a file that’s somewhere deep in the hierarchy.
In order to be able to restore a tab in Nautilus, we have to keep a list with the minimum of information to recover the tab. This means that we’ll store the history, the view before search, in case the closed tab is a search, so that we know what was the view type before searching and last but not least, the location which was closed. Storing the location also means that the window will now keep a reference of the closed locations.
Restoring a tab can be done the same way as in a web browser, by pressing Ctrl+Shift+T.