Missing Find Panel Keys is a Sublime Text package which provides key bindings for the find panel toggle buttons which are not assigned keys in the default Sublime Text keymap files.
Key bindings added for the Find, Replace, and Incremental Find Panels:
- Toggle Wrap
- Toggle Highlight
- Toggle In Selection
Key bindings added for the Find in Files Panel:
- Toggle Use Buffer
- Toggle Show Context
Information about the other Find in Files Panel buttons:
- Dev Build 3133 added key bindings for the Find in Files panel
Find
andReplace
buttons. It is not possible to add key bindings for those buttons to versions earlier than 3133 because no commands existed to perform their actions. - No key binding can be added for the Find in Files panel button, labelled
'...'
, which adds items to theWhere
text box, because there is no command currently available to launch that action in any version of Sublime Text. - For mouse-less operation users should note that
Tab
can be pressed to focus theWhere
text box at which point its history can be scrolled through using theUp/Down
keys and deleting its contents will revert it to itsOpen Files and Folders
default.
- Sublime Text version 2 or 3
Use Package Control:
- Open the command palette and select:
Package Control: Install Package
- Wait for the package list to be updated and then select:
MissingFindPanelKeys
Users can, if they prefer, download the zip file and then install it manually; MissingFindPanelKeys.sublime-package
should be used as the installed package file name or, if unzipping for folder installation, then MissingFindPanelKeys
should be used as the folder name.
The key bindings are only active when one of the find panels is focused.
If the first letter of the button's action can not be used for the key binding then the action's last letter is used instead because that is easy to remember. The following key bindings use the last letter instead of the first:
P
is used to toggleWrap
sinceW
is already used bytoggle_whole_word
T
is used to toggleShow Context
sinceC
is already used bytoggle_case_sensitive
- OSX Only:
N
is used to toggleIn Selection
sinceS
is used bysave_all
(which must remain active)
For the Find, Replace, and Incremental Find Panels
--------------------------------------------------
Toggle Wrap Alt+P
Toggle In Selection Alt+S
Toggle Highlight Matches Alt+H
--------------------------------------------------
For the Find in Files Panel
--------------------------------------------------
Toggle Use Buffer Alt+B
Toggle Show Context Alt+T
--------------------------------------------------
For the Find, Replace, and Incremental Find Panels
--------------------------------------------------
Toggle Wrap Super+Alt+P
Toggle In Selection Super+Alt+N
Toggle Highlight Matches Super+Alt+H
--------------------------------------------------
For the Find in Files Panel
--------------------------------------------------
Toggle Use Buffer Super+Alt+B
Toggle Show Context Super+Alt+T
--------------------------------------------------
To change the keys just copy and paste the relevant binding from the default keymap file, Menu --> Preferences --> Package Settings --> MissingFindPanelKeys --> Key Bindings - Default
/ GitHub links Linux, OSX, Windows, into your user keys file and change the keys to whatever you want.
Note that the PackageResourceViewer plugin allows package changes to be made with speed and ease, installing and learning how to use it saves a lot of time in the long run.
This package is licensed under The MIT License (MIT).