Patterns and Recipes videos Every video referenced from the Patterns and Recipes part of the book. See also the complete video index. ▶#0461 xp — Transpose Charactersfrom Swap and Duplicate Lines▶#0462 deep — A Vim Mythfrom Swap and Duplicate Lines▶#0463 ddp — Swap Lines Downfrom The Replace Loop — {key:*}, {key:cw}, then {key:.} {key:.} {key:.}▶#0464 ddkP — Swap Lines Upfrom The Replace Loop — {key:*}, {key:cw}, then {key:.} {key:.} {key:.}▶#0465 yyp — Duplicate Linefrom Change-Next-Match Loop — {key:cgn}▶#0466 Star-Dot Patternfrom Change-Next-Match Loop — {key:cgn}▶#0467 :%norm I// — Comment All Linesfrom Block Comment with {key:Ctrl-V} + {key:I}▶#0468 :%norm ^x — Delete First Charfrom Increment and Decrement ({key:Ctrl-A} / {key:Ctrl-X})▶#0470 Ctrl-A / Ctrl-X — Increment & Decrementfrom Increment and Decrement ({key:Ctrl-A} / {key:Ctrl-X})▶#0471 g Ctrl-A / g Ctrl-X — Sequencesfrom Walking the Numbered Registers▶#0472 Align Text with Substitutefrom Walking the Numbered Registers▶#0473 The Useless _ Keyfrom Diff Mode▶#0475 Ctrl-O in Insert Modefrom Diff Mode▶#0476 Map Y to y$from External Filter Tricks▶#0480 External Filteringfrom External Filter Tricks▶#0881 Recipe: Delete a Block of Linesfrom Swap and Duplicate Lines▶#0882 Recipe: Duplicate a Sectionfrom Swap and Duplicate Lines▶#0883 Recipe: Move Code Aroundfrom Swap and Duplicate Lines▶#0884 Recipe: Mass Renamefrom Change-Next-Match Loop — {key:cgn}▶#0885 Recipe: Delete All Commentsfrom Block Comment with {key:Ctrl-V} + {key:I}▶#0891 Recipe: Comment Out a Rangefrom Block Comment with {key:Ctrl-V} + {key:I}▶#0895 Recipe: Clean Trailing Whitespacefrom External Filter Tricks