I know how to use the mouse to create multiple carets. Is there any way to create multiple carets using only the keyboard?
check the available shortcuts under Selection -> Add Previous/Next Line
Plus pressing control+D multiple times will expand the cursor to the next match.
plus pressing ctrl+cmd+G (OSX shortcut. for your os check Find -> Quick Find All) selects all occurances of the word under cursor.
Ctrl-Alt Up/Down on Windows.
Thanks, all. I added this to my key bindings:
// Multiple carets { "keys": "super+alt+up"], "command": "select_lines", "args": {"forward": false} }, { "keys": "super+alt+down"], "command": "select_lines", "args": {"forward": true} }