Create a shortcut for Notepad++ to reopen a closed tab?
I have successfully tested the following solution: define this AutoHotKey macro:
SendMode Input ;just to set up preferred method of sending hotkeys
SetTitleMatchMode, RegEx ;from now on, windows titles are matched by regex
#IfWinActive Notepad\+\+ ;(open block) the following hotkeys work only in N++
+^t::Send !f1 ;desired hotkey: Ctrl+Shift+T sends Alt+F, 1
^w::Send ^{F4} ;bonus: Ctrl+W sends Ctrl+F4 (close file convention)
#IfWinActive ;(close #IfWinActive block)
do not forget to run AutoHotKey as administrator.
Using the AHK you can achieve many useful things in N++ and all other applications.
As of now, the shortcut CTRL+SHIFT+T is already the default for reopen closed tabs.
You can always use the ShortCut Mapper :