Snippet code editor keyboard shortcuts

Avatar

By Shea Bunge

updated 2 months ago

The snippets code editor supports several search and replace commands, accessible through keyboard shortcuts:

  • Ctrl-F / Cmd-F – Begin searching
  • Ctrl-G / Cmd-G – Find the next instance of the search term
  • Shift-Ctrl-G / Shift-Cmd-G – Find the previous instance of the search term
  • Shift-Ctrl-F / Cmd-Option-F – Replace text
  • Shift-Ctrl-R / Shift-Cmd-Option-F – Replace all instances of text
  • Alt-F – Persistent search (dialog remains open, Enter to find next, Shift-Enter to find previous)

Did this answer your question?