# Fix Command Palette
Force the Sublime Text command palette to remember the input text,
even after closing it after pressing the `escape` key, fixing the issue:
* https://github.com/SublimeTextIssues/Core/issues/1814 Command palette cleans the last command on escape key press
Also forces the command palette to make the initial text selected, fixing the regression created on
the Sublime Text build 3156:
* https://github.com/SublimeTextIssues/Core/issues/2083 Command palette text not selected between commands
## Installation
### By Package Control
1. Download & Install **`Sublime Text 3`** (https://www.sublimetext.com/3)
1. Go to the menu **`Tools -> Install Package Control`**, then,
wait few seconds until the installation finishes up
1. Now,
Go to the menu **`Preferences -> Package Control`**
1. Type **`Add Channel`** on the opened quick panel and press Enter
1. Then,
input the following address and press Enter
```
https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json
```
1. Go to the menu **`Tools -> Command Palette...
(Ctrl+Shift+P)`**
1. Type **`Preferences:
Package Control Settings – User`** on the opened quick panel and press Enter
1. Then,
find the following setting on your **`Package Control.sublime-settings`** file:
```js
"channels":
[
"https://packagecontrol.io/channel_v3.json",
"https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
],
```
1. And,
change it to the following, i.e.,
put the **`https://raw.githubusercontent...`** line as first:
```js
"channels":
[
"https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
"https://packagecontrol.io/channel_v3.json",
],
```
* The **`https://raw.githubusercontent...`** line must to be added before the **`https://packagecontrol.io...`** one, otherwise,
you will not install this forked version of the package,
but the original available on the Package Control default channel **`https://packagecontrol.io...`**
1. Now,
go to the menu **`Preferences -> Package Control`**
1. Type **`Install Package`** on the opened quick panel and press Enter
1. Then,
search for **`RememberCommandPaletteInput`** and press Enter
See also:
1. [ITE - Integrated Toolset Environment](https://github.com/evandrocoan/ITE)
1. [Package control docs](https://packagecontrol.io/docs/usage) for details.
___
## License
All files in this repository are released under GNU General Public License v3.0
or the latest version available on http://www.gnu.org/licenses/gpl.html
1. The [LICENSE](LICENSE) file for the GPL v3.0 license
1. The website https://www.gnu.org/licenses/gpl-3.0.en.html
For more information.