Is there a shortcut key or single-step menu option to find and select all instances of a highlighted selection in Sublime Text?
相关问题
- How to run code in Sublime text 2 python
- How do you configure MinGW with Sublime Text 3?
- How to add custom HTML tags in Sublime Text 3
- Not able to run selected lines in REPL R in sublim
- Mac OS X /bin/bash: python: command not found in s
相关文章
- trouble getting sublime to execute with linux term
- NVM cannot load default node with default alias se
- Automatically select pasted text in Sublime Text 3
-
Perl with Sublime Text 2:
not working - How to run python code in Sublime Text 3?
- How to make Zen Coding support JavaScript files in
- Show info about current character in status bar in
- Sublime Text 3: how to bind a shortcut to a specif
Note
You should not edit the
default
settings, because they get reset on updates/upgrades. For customization, you should override any setting by using theuser
bindings.On Mac: Sublime Text 2 > Preferences > Key Bindings-Default Sublime Text 3 > Preferences > Key Bindings
This opens a document that you can edit the keybindings for Sublime.
If you search "ctrl+super+g" you find this:
In the other posts, you have the shortcut keys, but if you want the menu option in every system, just go to Find > Quick Find All, as shown in the image attached.
Also, check the other answers for key binding to do it faster than menu clicking.
Hope it helps! :)
On Mac:
⌘ + CTRL + g
However, you can reset any key any way you'd like using "Customize your Sublime Text 2 configuration for awesome coding." for Mac.
On Windows/Linux:
Alt + F3
If anyone has how-tos or articles on this, I'd be more than happy to update.
Even though, here there are multiple answers, there is an issue in using this approach. It selects all the text match. Not only the whole words like variables. As per this question and answer, we have to start with a empty selection. That is, start using the shortcut Alt+F3 would help selecting only the whole words.
" On Windows/Linux press Alt+F3. "
Worked for me on Ubuntu. I changed it in my 'Key-Bindings:User' to something that I liked better though.
On Mac OS you can use: CMD + CTRL + G