- Ctrl-S to Save
- Ctrl-Shift-S to Save All
- Ctrl-W to close the current document
- Ctrl-Shift-W to close all current documents
- Ctrl-N to pop up the "New..." dialog. Please, when you're creating new files, don't use the mouse. In your navigator or package explorer, put your mouse where you want your new file, and hit "Ctrl-N", then filter on the type of file or project or whatever you want to create, and hit Enter.
- Ctrl-M to maximize (and minimize) the current active window. This works for editors and views.
- Ctrl-F to find stuff within your active editor
- Ctrl-K and Ctrl-Shift-K to do "find next". I love these things! You highlight a word in your file, then hit ctrl-k to find other instances of it, one at a time. Go ahead, try it. use Ctrl-Shift-K to find backwards
- Ctrl-H to find stuff in other files in your workspace.
- Ctrl-Space to pop up content assist (aka tag/function insight). This one bears some elaboration for us CFMLers. You know how when you type a function name, say reFind(, and it pops up the content assist? but then when it disappears you don't know how to get it back up again? Just hit Ctrl-Space. Go ahead, try it. Go find a function in your code, put your cursor after the paren, and hit Ctrl-Space. For the energetic, read my long diatribe with a mini-section on what I call "Ctrl-Space-Learn".
- Alt-Up and Alt-Down to move a whole "selection" (a line, or a chunk of lines) up or down
- Tab to indent, Shift-Tab to de-indent
- Ctrl-Shift-L to pop up a box showing other keyboard shortcuts
How do you get the swing of these?
I started by keeping a printout on my desk. It was a start. But the real key for me was to try to develop a palpable aversion to the mouse. For example, if I found myself mousing to create a new file, even if I were almost finished. I'd cancel it and do it with the keyboard. I'd do the same thing for all the other operations above. I try to nurture good developer habits; becoming keyboard-addicted is one worth developing yourself.