Monday 19 January 2009

Learning Emacs

Emacs and vi/vim are the two most popular text editors on Unix. I'm currently learning Emacs (yes, learning, there's a bit more to it than Notepad).

The coolest thing I've found so far is Emacs keyboard macros.

  • Start recording with C-x (
  • Type keys
  • End recording with C-x )
  • Execute recording with C-x e

You can combine the execution with C-u to repeat the command a given number of times.

No comments:

Post a Comment