Chapter 11: Macros

Chapter Overview

Part III: Getting Around Faster | Tips 64-72

Macros record and replay sequences of commands.

Tips in This Chapter

Tip Title Mastered

64

Record and Execute a Macro

[ ]

65

Normalize, Strike, Abort

[ ]

66

Play Back with a Count

[ ]

67

Repeat a Change on Contiguous Lines

[ ]

68

Append Commands to a Macro

[ ]

69

Act Upon a Collection of Files

[ ]

70

Evaluate an Iterator to Number Items in a List

[ ]

71

Edit the Contents of a Macro

[ ]

Macro Commands

Command Effect

q{register}

Start recording

q

Stop recording

@{register}

Play macro

@@

Repeat last macro

{count}@{register}

Play N times

Commands Learned

Command Description Notes

Practice

Commands I tried while reading:

" (Add commands you practiced)

Questions

Things I want to explore further.

Chapter Complete

  • Read entire chapter

  • Tried all tips

  • Noted key learnings

Date completed: _