Warning

Want even better documentation for Sublime Text?

We are starting a new round of writing and editing to improve this guide in many ways. If you find it useful, please support us.

Search and Replace - Single File

Searching

To open the search panel for the active file, press Ctrl + F. Some options and actions available through this panel can be controlled from the keyboard:

Toggle Regular Expressions Alt + R
Toggle Case Sensitivity Alt + C
Toggle Exact Match Alt + W
Find Next Enter
Find Previous Shift + Enter
Find All Alt + Enter

Replacing Text

To open the replace planel, press Ctrl + H. Some actions available through this panel can be controlled from the keyboard.

Replace All Ctrl + Alt + Enter

Tips

Other Ways of Searching in Files

Goto Anything provides the # operator to search in the active file. The search term will be the text following the operator.