Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Sublime Text 3 on Windows 8.1. Could be ST2, I don't think this is relevant.

I'm aware we can add multiple cursors to select different portions of different lines. Also, if we're looking for the same instance of a word, then we can just hit Ctrl+D to select the next, and so on.

But what if I want to select two words or phrases in the same line? For example: "Winners don't use drugs" I'm navigating the caret with the arrow keys so I can select the word "Winners" by doing a hold Shift+right arrow. At that point, if I want to add the word "drugs" to the selection, then I'd have to hold Ctrl and use the mouse over it.

Can it be done via keyboard? Splitting into lines is not the point since this is all 'inline'. Also, navigating with Ctrl+arrows will cause the previous selection to be lost.

The idea here is to easily select two words or expressions to transpose, like: "drugs don't use Winners".


share|improve this question
The fastest way I can think of is unfortunately via mouse. Hold Ctrl, click somewhere around 'Winners' and 'drugs', press (and release) d, press t (assuming transpose is Ctrl+t). As you can see you are holding Ctrl until the end of combination, which is time saving. – Taylan May 8 '14 at 8:13
Thanks T! What you did worked. Unfortunately it still needs the mouse, but that's a huge help. – Da Rossa May 9 '14 at 9:28

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.