Menu

#334 Reopen the last closed tab

closed
None
5
2010-01-01
2009-12-11
Eloi Rivard
No

Hi,
It would be nice if a Ctrl + Shift + t (or another shortcut) reopened the last closed tab, as Firefox for example.

Eloi

Discussion

  • Enrico Tröger

    Enrico Tröger - 2009-12-20

    See http://thread.gmane.org/gmane.editors.geany.general/3234 for a lengthy discussion about this feature and why it is not implemented.
    As also mentioned in this thread, using the recent files menu might be enough.

     
  • Nobody/Anonymous

    The thread comes to the conclusion that the whole state of the file would have to be retained in memory for that feature. That is not necessary: the file can be closed and then reopened, as I believe the point of this feature is user comfort, not speed.

    I think it would be nice to have the feature as a configurable keyboard shortcut (and perhaps a tab bar context menu element for the lazy ones) -- I sometimes hit CTRL-W accidentally, or even worse, CTRL-SHIFT-W, and would like another shortcut to counteract it.

     
  • Enrico Tröger

    Enrico Tröger - 2009-12-28

    Do I understand you correctly saying that restoring the status of the last closed tab (cursor position, folding state, ...) is not necessary, you really just want a shortcut (and/or menu/toolbar/whatever item) to open the last closed tab again? If so, this could be done easily.

     
  • Eloi Rivard

    Eloi Rivard - 2009-12-29

    Yes, it is what I meant.

     
  • Enrico Tröger

    Enrico Tröger - 2010-01-01

    Implemented as trivial as it can be: the new keybinding "Re-open last closed tab" opens the most recently closed file (the first item in the recent file list). By default, the keybinding is unassigned.

     
  • Enrico Tröger

    Enrico Tröger - 2010-01-01
    • assigned_to: nobody --> eht16
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB