Home Download Buy Blog Forum Support

Column select with middle mouse, key equiv?

Column select with middle mouse, key equiv?

Postby AbsoluteDestiny on Fri Oct 30, 2009 11:44 am

Is there a keyboard equivalent to the column select achieved by middle clicking?

It would be nice to be able to use alt+up, alt+down etc for this.
AbsoluteDestiny
 
Posts: 12
Joined: Fri Oct 23, 2009 2:27 pm

Re: Column select with middle mouse, key equiv?

Postby vim on Fri Oct 30, 2009 12:35 pm

ctrl+alt+ up/down
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Column select with middle mouse, key equiv?

Postby timgaunt on Tue Sep 13, 2011 8:33 am

What about end of line selections with the keyboard?

e-texteditor offers a nice feature which allows you to press the Alt key and then select the end of the line, a positional select etc -similar to your middle key which in this instance I prefer over Sublime's middle mouse button because my laptop doesn't have a middle mouse.

Is it possible to remap this at all?
timgaunt
 
Posts: 2
Joined: Tue Sep 13, 2011 8:30 am

Re: Column select with middle mouse, key equiv?

Postby bizoo on Tue Sep 13, 2011 10:03 am

Look at Sublime Text 2\Packages\Default\Default (XXX).sublime-mousemap
Code: Select all
   // Mouse 3 column select
   {
      "button": "button3",
      "press_command": "drag_select",
      "press_args": {"by": "columns"}
   },
   {
      "button": "button3", "modifiers": ["ctrl"],
      "press_command": "drag_select",
      "press_args": {"by": "columns", "additive": true}
   },
   {
      "button": "button3", "modifiers": ["alt"],
      "press_command": "drag_select",
      "press_args": {"by": "columns", "subtractive": true}
   },

And actually Shift + Mouse 2 does exactly the same...
Or you could use ctrl+alt+ up/down followed by end key...
Or a normal selection followed by ctrl + shift + l followed by end key.
bizoo
 
Posts: 873
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 36 guests