The Vim Tutorial and Reference
Scrolling Up and Down..................................................................................48
Deleting Text..................................................................................................49
Deleting Text Without Visual Mode............................................................49
Where to Put the Count (3dw or d3w).......................................................50
Visual vs. Normal Mode Delete..................................................................51
Changing Text................................................................................................51
The . Command..............................................................................................53
Joining Lines..................................................................................................53
Replacing Characters....................................................................................54
Changing Case...............................................................................................55
Keyboard Macros...........................................................................................55
Digraphs.........................................................................................................57
Chapter 3:Searching..........................................................................................59
Simple Searches............................................................................................59
Search History...............................................................................................60
History Window..........................................................................................61
Searching Options..........................................................................................61
Highlighting...............................................................................................61
Incremental Searches................................................................................62
Searching Backward..................................................................................64
Reverse Search History..............................................................................64
Changing Direction........................................................................................65
Basic Regular Expressions.............................................................................66
The Beginning (^) and End ($) of a Line...................................................66
Match Any Single Character (.)..................................................................67
Matching Special Characters.....................................................................68
Regular Expression Summary....................................................................68
Chapter 4:Text Blocks and Multiple Files.........................................................69
Cut, Paste, and Copy......................................................................................69
Character Twiddling......................................................................................70
More on "Putting"......................................................................................71
Moving Large Blocks of Text.........................................................................71
Marks.............................................................................................................72
Where Are the Marks?...............................................................................73
Yanking...........................................................................................................74
Normal Mode Yanking................................................................................74
Yanking Lines.............................................................................................76
Filtering.........................................................................................................76
Normal Mode Filtering...............................................................................76
Editing Another File.......................................................................................77
The :view Command.......................................................................................77
Dealing with Multiple Files............................................................................78
vim-1.0.odt (28. Sep. 2007) The Vim Book Page 5