How do I skip a match when using Ctrl+D for multiple selections in Sublime Text 2?

Just use Ctrl+K, Ctrl+D.

(for OS X: Cmd+K, Cmd+D)

Needs a bit of practice, but gets the job done!


You can press Ctrl+K and Ctrl+D at the same time to skip a selection. If you went too far with your selection, you can use Ctrl+U to return to a previous selection.

Note: Replace Ctrl with Cmd for Mac OS X.

The default configuration for this can be viewed by going to Preferences > Key Bindings-Default in the application menubar, where you will see something like this:

{ "keys": ["ctrl+d"], "command": "find_under_expand" },
{ "keys": ["ctrl+k", "ctrl+d"], "command": "find_under_expand_skip" }

If you want, you can configure the keys as per your needs, by going to Preferences > Key Bindings-User and copy the above code and then change the keys.


If you have the cursor over the word and use Ctrl + D to select the word. The next time you hit Ctrl + D it should select the next highlighted word.

If you double click to select word, Ctrl + D will select the exact string not just the highlighted ones.

In other words, Ctrl + D with nothing highlighted does whole-word search. If you have something highlighted already, Ctrl + D will do substring searching.

I have tested and it works in Sublime Text 2 Version 2.0.1, Build 2217.