Home Download Buy Blog Forum Support

Multiple carets with keyboard

Multiple carets with keyboard

Postby lorin on Wed May 16, 2012 7:32 pm

I know how to use the mouse to create multiple carets. Is there any way to create multiple carets using only the keyboard?
lorin
 
Posts: 9
Joined: Thu Dec 08, 2011 3:41 am

Re: Multiple carets with keyboard

Postby vitaLee on Wed May 16, 2012 7:42 pm

check the available shortcuts under Selection -> Add Previous/Next Line
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: Multiple carets with keyboard

Postby C0D312 on Wed May 16, 2012 7:46 pm

Plus pressing control+D multiple times will expand the cursor to the next match.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Multiple carets with keyboard

Postby vitaLee on Wed May 16, 2012 7:54 pm

plus pressing ctrl+cmd+G (OSX shortcut. for your os check Find -> Quick Find All) selects all occurances of the word under cursor.
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: Multiple carets with keyboard

Postby agibsonsw on Wed May 16, 2012 8:04 pm

Ctrl-Alt Up/Down on Windows.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: Multiple carets with keyboard

Postby lorin on Thu May 24, 2012 1:46 am

Thanks, all. I added this to my key bindings:
Code: Select all
// Multiple carets
{ "keys": ["super+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["super+alt+down"], "command": "select_lines", "args": {"forward": true} }
lorin
 
Posts: 9
Joined: Thu Dec 08, 2011 3:41 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 13 guests