I generally have a “home” Firefox window with my most used tabs pinned. Sometimes I close it before another window, so I was frustrated to “lose” it and having to redo my pins. But recently I discovered this feature. Joy!

  • @moody
    link
    3211 months ago

    Ctrl-Shift-T for the last tab closed, Ctrl-Shift-N for the last window closed

    • oce 🐆OP
      link
      fedilink
      511 months ago

      Just checked, it appears ctrl+shit+T will also reopen a window if the last closed tab was on it.

      • @Microw@lemm.ee
        link
        fedilink
        211 months ago

        Hm, was that always the case? I seem to remember me trying to check this years ago and it didnt work then

        • @Vincent@feddit.nl
          link
          fedilink
          211 months ago

          Nope, it was literally added this month :) See https://www.mozilla.org/en-US/firefox/116.0/releasenotes/

          The keyboard shortcut to reopen closed tabs (Ctrl + shift + t or Command + shift + t depending on your operating system) now reopens last closed tab or last closed window, in the order items were closed. If there aren’t any tabs or windows to reopen, this command restores the previous session. This change is in anticipation of upcoming changes to recently closed tabs.