Zwillingssterns Weltenwald
Published on Zwillingssterns Weltenwald (http://www.zwillingsstern.de)

Startseite > Using Macros to avoid tedious tasks (screencast)

Using Macros to avoid tedious tasks (screencast)

Because I am lazy,1 and that makes me fast.

Table of Contents

  • 1. Screencast
  • 2. Plan
  • 3. Explanation
  • 4. Why??
  • 5. Thank you

Screencast

(download (ogg theora video) [1])

Using Macros to avoid tedious tasks

Plan

  • [X] Show the task
  • [X] Record Macro
  • [X] Use Macro

Explanation

I record a macro to find ~, then activate the mark and find a space.

C-s ~, C-SPACE, C-s SPACE

Then kill the region and type ${}

C-w ${}

That’s it.

Why??

  • It is resilient: I check each change I do.
  • I avoid repeating unnerving stuff.

Thank you

☺

recorded with recordmydesktop: recordmydesktop --delay 10 --width 800 --height 600 --on-the-fly-encoding


  1. I have lots of stuff to do, so I cannot afford not being lazy ☺ ↩

AnhangGröße
using-emacs-macros-to-reduce-tedious-work-screencast.ogv [1]17.81 MB
using-emacs-macros-to-reduce-tedious-work-screencast.org [2]397 Bytes
Werke von Arne Babenhauserheide. Lizensiert, wo nichts anderes steht, unter der GPLv3 or later und weiteren freien Lizenzen.

Diese Seite nutzt Cookies. Und Bilder. Manchmal auch Text. Eins davon muss ich wohl erwähnen — sagen die meisten anderen, und ich habe grade keine Zeit, Rechtstexte dazu zu lesen…


Source URL: http://www.zwillingsstern.de/light/english/emacs/using-macros-avoid-tedious-tasks

Links:
[1] http://www.zwillingsstern.de/files/using-emacs-macros-to-reduce-tedious-work-screencast.ogv
[2] http://www.zwillingsstern.de/files/using-emacs-macros-to-reduce-tedious-work-screencast.org