How do I replace text in a selection?

前端 未结 11 2043
借酒劲吻你
借酒劲吻你 2021-01-29 19:10

I\'ve just started using Sublime Text 2, coming from emacs.

I have a region of text selected. Within that region, I\'d like to replace all text instances of \'0\' with \

11条回答
  •  死守一世寂寞
    2021-01-29 19:13

    I know this has been answered many times, and all are correct, but I though I would add another:

    Similar to the Ctrl - D method to select individual occurrences of the current selection, you can select all occurrences in the file with Alt+F3 when using Windows or Linux (CMD+CTRL+G in Mac world).

    This is helpful for mass-changes.

提交回复
热议问题