KBD

Keith Devens .com

Thursday, March 18, 2010 Flag waving
Everybody makes their own fun. If you don't make it yourself, it ain't fun -- it's entertainment. – David Mamet (as relayed by Joss Whedon)
← WhiplashEdge asks scientists "What do you believe is true even though you cannot prove it?" →

Daily link icon Wednesday, January 5, 2005

Your favorite text editor tricks?

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.

← WhiplashEdge asks scientists "What do you believe is true even though you cannot prove it?" →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

March 2010
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

I hate ASP.NET

I hate ASP... I was doing wonders​with PHP, then suddenly one of my​clients...

Johnies: Mar 17, 6:14am

Quantum physics and free will

I knew you were going to say that....

Tom Massey: Mar 15, 9:26pm

Generated in about 0.113s.

(Used 8 db queries)