Sublime Forum

OSX: CMD+SHIFT+t open terminal: no more last opened file working

#1

Hi guys, I was used with Sublime 3 to reopen the last closed file with this shortcut:

cmd+shift+t

After I switched to Sublime4 the same shortcut, even if as is still in the keybindings related with the action

{ "keys": ["super+shift+t"], "command": "reopen_last_file" },

now it opens my terminal in the folder of the focused file.

How can I fix this new behaviour?

Thank in advance!

0 Likes

#2

Does that also happen in safe mode?

0 Likes

#3

Open ST console, execute sublime.log_commands(True) and then press the said binding. This is to verify that the binding indeed does execute reopen_last_file

0 Likes

#4

infact…38

0 Likes

#5

Hi, thanks for your answer.
In safe mode I was able to open a file at a time and the command was executing nothing.

0 Likes

#6

The logs above are an indication that you have a package installed that has provided a key binding that opens the terminal, overriding the last command.

You can resolve that by either removing the package or using Preferences > Key Bindings from the menu and adding the binding you mentioned above to the file on the right (if it’s there, then look for another binding on the same key and remove that one).

0 Likes

#7

I found I have a package called “Terminal” with a shortcut that overwrite the default one.

Anyway, there’s an incorrect behaviour, because I tried to overwrite in user.keybindings the action of this package with another shortcut and I solved overwriting directly the package

0 Likes