KBD

Keith Devens .com

Monday, October 6, 2008 Flag waving
I would rather be an optimist and be wrong than a pessimist who proves to be right. The former sometimes... – "Hoots"
← 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)
:

October 2008
SunMonTueWedThuFriSat
 1234
567891011
12131415161718
19202122232425
262728293031 



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

Recent comments XML

new⇒Girls, please don't get breast implants

Makes me sick to hear normal sized​women whining about being small. B​cup i...

Rachel: Oct 5, 7:42pm

obout inc - ASP.NET controls

I like there components. I've got​it to work locally on my pc.​However I'm ...

Jeff: Oct 2, 4:43pm

Dumb substring behavior in C# (and Java)

Yes, the Substring function is not​helpful when you hit the length​problem,...

Mike Irving: Oct 2, 7:56am

YouTube - Burning Down The House: What Caused Our Economic Crisis?

> Please save another copy of the​"Burning Down The House" video as​the ori...

Keith: Sep 30, 11:05am

Johnny Walker Blue Label

I bought a 2 finger glass for 60​bucks about 5 minutes before my​wedding. I...

Ty: Sep 30, 9:52am

More on the bailout

I figured they wanted about a buck​or so from every man, woman and​child on...

Peggy McGilligan: Sep 30, 12:20am

Generated in about 0.122s.

(Used 8 db queries)

mobile phone