How do I replace text in a selection?

前端 未结 11 1915
借酒劲吻你
借酒劲吻你 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:17

    As @JOPLOmacedo stated, ctrl + F is what you need, but if you can't use that shortcut you can check in menu:

  • Find -> Find..

    and there you have it.
    You can also set a custom keybind for Find going in:

  • Preferences -> Key Bindings - User

    As your request for the selection only request, there is a button right next to the search field where you can opt-in for "in selection".

提交回复
热议问题