What are your favorite text editor tricks? Do you have certain keyboard shortcuts, macros, or features in your favorite editor you "can't live without"?
Since I've been using jEdit I've been customising it a lot. For instance, I've even customized the ordinary commands for cut and paste. Cx and Cc cut and paste the selection as usual, but now if nothing is selected it cuts or copies the current line. Other neat commands I just set up are CA↓ and CA↑, which move an entire line up or down. I've also forgone the normal (at least for Windows) undo/redo combination, and use Cz and CSz instead of Cz and Cy. I have Cd to delete a whole line, CSd to duplicate a line or selection, F12 to go to the most recent buffer, CF12 links to jEdit's great switch buffer plugin, I have diffs inline in my editor with jEdit's diff plugin, and so on. My page on jEdit details all the keyboard shortcuts I've set up.
What's great about jEdit is that with macros I can customize almost any feature I want, or I can create new features. So, if anyone has any neat tricks (please share) I can likely easily add them to jEdit. This is my first time using a programmable editor (I didn't know what I was missing -- the Emacs folks are onto something), so I'm having fun playing.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):