Sublime Forum

About Drag Select & Column Selection , inconvenience

#1

Hi,
Sublime Text 2 is great.
But something is odd to me.
I have used Notepad++ for 4 years.
In Notepad++, column selection can be used by keyboard only. (ctrl+alt+ arrow )
But, in Sublime Text 2, I can only find one way that is Ctrl + Right Mouse…
Other method is Ctrl + alt ,but it can’t select Block but only lines…
I want to say sorry at first because I want to say :" this is s*ck design…"…
Maybe I miss something ? or It just likes that? if so, any plugin can fix it ?

best regards.

p.s. If you dont understand what I’m saying, see attachment. Sorry for my poor english.


0 Likes

#2

Not sure I understand your question.

Block selection is shift+right_mouse_button.
Add ctrl to add block selection or add alt to remove block selection.

Using keyboard:

  1. ctrl+alt+up/down to add a selection up/down (select vertically)
  2. shift+right/left to expand selections (select horizontally)
0 Likes

#3

Thanks for reply.
Now I know how to do, but it doesn’t work.

I change Ctrl+alt+ up/down

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

to Alt+shift + up/down

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

but it doesn’t work…No key collection.
How to make it alt+shift + up/down/left/right?

0 Likes

#4

Press alt+shift down, then press shift+right. Voilà: box selection.

0 Likes

#5

Thanks for reply.
But here is my problem:
When change to alt+shift+up/down, ST2 doesn’t let me do “selection_lines”. ( In this time, I don’t change shift+left/right to alt+shift+l/r yet.)
It’s strange…damn

edit:

I change setting like:

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

and it doesn’t work. That’s all.
any help?

0 Likes