Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard Column Selection for Sublime Text 2 on Windows

Tags:

I've been trying to get column selection via keyboard bindings working on Windows.

The Default (Windows).sublimekeymap says this:

{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} }, { "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }, 

And it is also documented here: http://www.sublimetext.com/docs/2/column_selection.html However, every time I try to do column selection via the keyboard it doesn't work. Is this an environment specific problem or an actual bug? Or perhaps I'm doing something wrong.

like image 748
ciriarte Avatar asked Apr 04 '12 21:04

ciriarte


People also ask

How do I select a column in Sublime Text?

Using the MouseDragging with the middle button / mouse wheel will do a column selection. You can use Ctrl and Alt with this too. Shift+Right mouse button is an alternative way to initial a column select. Dragging in the gutter (where the line numbers are), will select entire lines at once.

What is Ctrl D in sublime?

Ctrl + D in SublimeText is "Quick Add Next." This appears to be equivalent to Ctrl + B in Brackets, which is "Add next match to Selection" on the Find menu.

How do I use Sublime Text in Windows?

Step 1: Open the downloaded .exe file from the downloads folder and begin with the installation process. Step 3: If you want Sublime Text 3 to appear in your right-click menu, then mark the checkbox and click on the Next button. Step 4: Press the install button. Step 5: Finish with the installation process.


1 Answers

Assuming you are getting multiple cursors when you go up in a block of text with Ctrl+Alt+Up, you then need to use Shift+Left and Shift+Right to make the column selection.

If you are not getting multiple cursors at all, try changing the keybindings just to up and down, see if that works. It may be that your windows environment is using Ctrl+Alt+Up` for something else and prevents its use in Sublime.

like image 60
fraxel Avatar answered Sep 24 '22 21:09

fraxel