Sublime Forum

Command pallet remembers text from previously command upon opening

#1

I apologise in advance if this has already been posted, I haven’t seen it in my quick search of the forums.

As of a recently ST3 build, when opening the command pallet (cmd + shift + P) the previously entered text is still there, this is really annoying as it’s very rare that I’d want to run the same command as last time.

I’m certain it’s not something I’ve recently changed in my config as my team members are also complaining about it.

For example, you workflow might be to git add, git commit, git push - this used to be easy, but now you have to backspace the previously entered text in the pallet rather than simply starting to type the new command and let it’s round text / weighted search point you in the right direction.

Thus you end up with:

etc…

Any assistance would be appreciated.

0 Likes

Command palette - clear last used command after execute
#2

Whoops, looks like this has already been reported.

and

1 Like

#3

For anyone reading this, the (I hope temporary) fix is:

  1. Install the package ‘chainofcommands’
  2. Add the following to your keybindings:
{
    "keys": ["super+shift+p"],
    "command": "chain",
    "args": {
        "commands": [
            ["show_overlay", { "overlay": "command_palette" }],
            ["select_all"],
        ]
    },
},
2 Likes