Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2 : Rectangular or column select by keyboard only on Mac 10.8.3?

Tags:

I cannot figure out how to do rectangular selection in Sublime Text 2 using only keyboard. What I seem to always come across is to do ctrl-shift-up or -down (which I assume mean arrow keys), as laid out here: https://stackoverflow.com/a/13796939/1022967

But when I try to use that, I must send an OS-level command, because what happens is that my window slowly recedes and shows me all of the open apps/windows I have going on my Mac (I forget what that's called -- like a dashboard of what I have running). This happens when I use this key chord in apps outside of Sublime Text 2 as well.

Do I have something misconfigured? Could I have alternate key chords to do this?

like image 778
mpettis Avatar asked Apr 29 '13 19:04

mpettis


People also ask

Does Sublime have a column mode?

Overview. Column Selection can be used to select a rectangular area of a file. Column selection doesn't operate via a separate mode, instead it makes use of multiple selections. You can use additive selections to select multiple blocks of text, or subtractive selections to remove a block.

How do you select multiple lines in sublime text on a Mac?

Splitting the Selection into Lines Select a block of lines, and then split it into many selections, one per line, using: Windows/Linux: Ctrl+Shift+L. Mac: ⇧+⌘+L.


1 Answers

You do not need to change the Sublime Text key bindings.

Simply go to System Preferences -> Keyboard -> Keyboard Shortcuts, click on Mission Control, and uncheck the boxes next to Mission Control and Application windows, then you will be able to use the default keys for column selection. This is a quick and easy fix, especially if you are not using Mission Control.

like image 140
Michael Sheaver Avatar answered Oct 21 '22 10:10

Michael Sheaver