[OS X] How To Enable Ctrl+Maj+Up And Ctrl+Maj+Down in Atom and Sublime Text 2 To Select Multiple Lines

One frustrating issue that I encounter every time I setup an OSX machine for development is that the very useful Ctrl+Maj+Down (and Ctrl+Maj+Up) keybinding to select multiple lines in Atom or Sublime Text doesn’t work out of the box.

Selecting multiple lines
Selecting multiple lines to edit them all in the same time.

This is because OSX already uses this shortcut for its Mission Control app.

  1. Go to Settings > Keyboard > Shortcuts > Mission Control ;
  2. Unselect the shortcuts (or bind another keystroke if you need the functions). Ctrl is the little ^ icon.
    clavier
  3. And there you go, open up Atom or Sublime Text and it should be working.

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: