There are a series of new default key bindings added in ST4 for interaction with panels that use the select
command for indicating that an item should be chosen from a panel. For example, here’s one of them:
{ "keys": ["enter"], "command": "select", "context":
[
{ "key": "overlay_has_focus", "operator": "equal", "operand": true },
{ "key": "overlay_name", "operator": "equal", "operand" : "goto" }
],
},
In ST3 there were no such bindings because the enter
key was hard coded to always enter in a panel.
If you’re seeing this problem, it’s because you have an override on the default key bindings, which locks them into what the defaults were in ST3 and stops this from working.
If you use Preferences: Browse Packages
, you will most likely see a folder named Default
present; if so, any of the files in there are blocking Sublime from loading the files that it shipped with. Moving it away (and restarting Sublime) will allow the normal defaults to reassert themselves.
If there is no such folder, then go up one level and look inside of Installed Packages
for a file named Default.sublime-package
and move that away instead.
In both cases, you’re putting defaults back in place. If the overrides were created by accident (PackageResourceViewer
makes it startlingly easy to create overrides when you don’t expect it) then moving the files away is all you need.
On the other hand, if you made the overrides on purpose, then you probably need to re-create them based on the new key bindings.
The OverrideAudit package is designed to detect problems such as this and bring them to your attention, so you may find it useful in the general case (as a disclaimer, I’m the author).