Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to select text and then use "search and replace" to replace strings in this selection.

I think the following workflow should be it:

  1. Select Text
  2. Ctrl+H to activate "search and replace"
  3. type the search term
  4. Tab or click in replace textbox
  5. type the replace term
  6. do the search and replace operation

However, when one of the text boxes already contains text than my text selection is deselected. This happens whenever I try to use search and replace.

How can I prevent Sublime from deselecting my selected text?

I already found following ressources, but they didn't help preventing the deselecting.

share|improve this question
Got the same issue and I can't quite understand how the three friends who recommended Sublime Text to me missed that obvious shortcoming. Probably we're looking for the wrong search terms or something. +1 –  0xC0000022L Oct 31 at 1:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.