sublime搜寻和替换-单文件搜索

sublime搜索和替换-单文件搜索

Searching

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

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 throughthis 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. Thesearch term will be the text following the operator.

Multiline Search

You can type in multiline search patterns into search panels. To enter newlinecharacters, press Ctrl + Enter. Note that search panels are resizable.