This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Alt-up/down moves the current line up/down. I often use this in combination with ctrl-alt-up/down...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Jul 11, 2001
Forgot to mention: it also works with a selection of several lines.
Joined: Aug 31, 2004
So, as a summary for anyone else interested in copying/moving whole lines:
Ctrl+Alt+down: copies current line or selected lines to below
Ctrl+Alt+up: copies current line or selected lines to above
Alt+up: moves current line or selected lines to above
Alt+down: moves current line or selected lines to below
Ctrl+Shift+L: brings up a List of shortcut keys & pressing twice gets...
Window/Preferences - General/Keys: allows you to modify the lot
As an example, to copy a whole line somewhere else: 1. Press Ctrl+Alt+up (or down) 2. Press Alt+up (or down) as many times until you reach desired location.