ctrl-Dto select a word. Continue hitting
ctrl-Dto select subsequent instances of that word.
ctrl-Lto select a line.
ctrl-Ato select the entire document.
ctrl-shift-Mto select something inside a set of brackets
ctrl-shift-up_arrowto move the current line up one (and likewise with down arrow)
If you want to add or remove characters from the beginning or end of a selection of lines from your document:
- Go to the first line of your selection, and hit
ctrl-Lto select that line
- Continue hitting
ctrl-Luntil every line you want has been selected.
ctrl-shift-Land your selection will remain, with a cursor at the end of each line.
- Use your keyboard's arrow keys to move the cursor. This will give you a cursor at the same position on each line, relative to the beginning or end of the line.
- Type whatever you wanted to in, and it will repeat on every line.
escto get your single cursor back
If you are in a bash terminal and want to open that directory in sublime:
. (period) is short hand for the current directory.
Any directory can be opened in this way.