Search and Replace - Single File¶
Development of Sublime Text has moved on to version 3.
As a result,
this branch for Sublime Text 2
will not be updated any more.
Please select the
in the panel on the bottom left
and consider updating Sublime Text.
To open the search panel for buffers, press
Ctrl + F. Some options in
the search panel and search actions can be controlled with the keyboard:
|Toggle Regular Expressions||
|Toggle Case Sensitivity||
|Toggle Exact Match||
The incremental search panel can be brought up with
Ctrl + I. The only
difference with the regular search panel lies in the behavior of the
key: in incremental searches, it will select the next match in the buffer and
dismiss the search panel for you. Choosing between this panel or the regular
search panel is mainly a matter of preference.
You can open the replace planel with
Ctrl + H.
Other Ways of Searching in Buffers¶
Other Key Bindings to Search in Buffers¶
These keybindings work when the search panel is hidden.
|Search Forward Using Most Recent Pattern||
|Search Backwards Using Most Recent Pattern||
|Select All Matches Using Most Recent Pattern||
You can type a multiline search pattern. To enter a newline character, press
Ctrl + Enter in the search panel. Note that the search panel is resizable