Home Download Buy Blog Forum Support

column selection

column selection

Postby myel on Sun Mar 30, 2008 9:58 pm

Hi,

i would like to see a column selection mode ;).
myel
 
Posts: 88
Joined: Sat Mar 22, 2008 11:26 pm

Re: column selection

Postby jps on Mon Mar 31, 2008 12:16 am

You can drag with the middle mouse button (generally the mouse wheel), or shift+right mouse button to do a column selection.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: column selection

Postby myel on Mon Mar 31, 2008 7:01 am

Ah, didn't try that, thanks.

although it would be nice if this could be trigged via keyboard only too (alt+ up/down/left/right?)
myel
 
Posts: 88
Joined: Sat Mar 22, 2008 11:26 pm

Re: column selection

Postby myel on Tue Apr 08, 2008 10:10 pm

another thing:

when i have something like this

Code: Select all
foo foo bar bar
foo foo bar bar

foo foo bar bar
foo foo bar bar

foo foo bar bar
foo foo bar bar

foo foo bar bar
foo foo bar bar


and want to replace/select the first "bar" i get this

Code: Select all
foo foo |bar| bar
foo foo |bar| bar
|
foo foo |bar| bar
foo foo |bar| bar
|
foo foo |bar| bar
foo foo |bar| bar
|
foo foo |bar| bar
foo foo |bar| bar


Imho it would be nice if empty parts would be ignored when selecting columns, so only the bars would be selected.
myel
 
Posts: 88
Joined: Sat Mar 22, 2008 11:26 pm

Re: column selection

Postby jps on Wed Apr 09, 2008 3:47 pm

Sometimes you want the column selection to select empty areas, such as dragging to the right of the text to quickly get one cursor per line.

I'll take a look at changing the behaviour so that all the empty regions are removed as soon as there's at least one non-empty region in the column selection.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: column selection

Postby dflock on Tue Apr 22, 2008 10:22 am

I'm new to Sublime so I'm not sure if this is already possible, but it would be really useful to be able to do column mode selection from the keyboard - maybe alt+arrows, rather than the normal shift+arrows - does anyone know if you can do this now, or if it's planned for the future?
dflock
 
Posts: 1
Joined: Tue Apr 22, 2008 10:17 am

Re: column selection

Postby jps on Tue Apr 22, 2008 2:46 pm

Welcome to the forums! There's no way to do it yet, but I'll add something for the next beta.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: column selection

Postby vim on Tue Sep 16, 2008 3:24 pm

Any update on binding column selection to keyboard shortcut?
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: column selection

Postby jps on Thu Sep 25, 2008 3:33 pm

Still only half way there: As Sublimator mentioned, Ctrl+alt+up/down implements a sort-of column select.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: column selection

Postby vim on Thu Sep 25, 2008 8:26 pm

...and finish with shift to do the actual selection.
it's good enough, thanks
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Next

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 7 guests