Preface |
|
xiii | |
|
Part I. Basic and Advanced vi |
|
|
|
|
3 | (10) |
|
A Brief historical Perspective |
|
|
5 | (1) |
|
Opening and Closing Files |
|
|
6 | (4) |
|
Quitting Without Saving Edits |
|
|
10 | (3) |
|
|
13 | (22) |
|
|
13 | (1) |
|
|
14 | (4) |
|
|
18 | (12) |
|
|
30 | (1) |
|
|
31 | (1) |
|
Review of Basic vi Commands |
|
|
32 | (3) |
|
|
35 | (12) |
|
|
35 | (3) |
|
|
38 | (1) |
|
|
39 | (4) |
|
|
43 | (1) |
|
Review of vi Motion Commands |
|
|
44 | (3) |
|
|
47 | (8) |
|
More Command Combinations |
|
|
47 | (1) |
|
|
48 | (3) |
|
|
51 | (1) |
|
|
52 | (1) |
|
|
53 | (1) |
|
Review of vi Buffer and Marking Commands |
|
|
53 | (2) |
|
Introducing the ex Editor |
|
|
55 | (16) |
|
|
55 | (3) |
|
|
58 | (5) |
|
|
63 | (2) |
|
Copying a File into Another File |
|
|
65 | (1) |
|
|
65 | (6) |
|
|
71 | (24) |
|
|
72 | (1) |
|
Context-Sensitive Replacement |
|
|
73 | (1) |
|
|
74 | (7) |
|
Pattern-Matching Examples |
|
|
81 | (8) |
|
A Final Look at Pattern Matching |
|
|
89 | (6) |
|
|
95 | (30) |
|
|
95 | (4) |
|
|
99 | (4) |
|
|
103 | (11) |
|
|
114 | (6) |
|
Editing Program Source Code |
|
|
120 | (5) |
|
Introduction to the vi Clones |
|
|
125 | (20) |
|
And These Are My Brothers, Darrell, Darrell, and Darrell |
|
|
125 | (1) |
|
|
126 | (1) |
|
|
127 | (1) |
|
Extended Regular Expressions |
|
|
128 | (1) |
|
|
129 | (5) |
|
|
134 | (4) |
|
|
138 | (2) |
|
Editor Comparison Summary |
|
|
140 | (1) |
|
Nothing Like the Original |
|
|
141 | (1) |
|
|
141 | (4) |
|
|
|
Vim (vi Improved): An Introduction |
|
|
145 | (14) |
|
|
146 | (4) |
|
|
150 | (1) |
|
Getting Vim for Unix and GNU/Linux |
|
|
151 | (5) |
|
Getting Vim for Windows Environments |
|
|
156 | (1) |
|
Getting Vim for the Macintosh Environment |
|
|
157 | (1) |
|
|
157 | (1) |
|
Aids and Easy Modes for New Users |
|
|
157 | (1) |
|
|
158 | (1) |
|
Major Vim Improvements over vi |
|
|
159 | (14) |
|
|
159 | (1) |
|
Startup and Initialization Options |
|
|
160 | (7) |
|
|
167 | (2) |
|
Extended Regular Expressions |
|
|
169 | (2) |
|
Customizing the Executable |
|
|
171 | (2) |
|
|
173 | (22) |
|
Initiating Multiwindow Editing |
|
|
174 | (3) |
|
|
177 | (3) |
|
Moving Around Windows (Getting Your Cursor from Here to There) |
|
|
180 | (1) |
|
|
181 | (2) |
|
|
183 | (3) |
|
Buffers and Their Interaction with Windows |
|
|
186 | (4) |
|
|
190 | (1) |
|
|
191 | (1) |
|
Closing and Quitting Windows |
|
|
192 | (1) |
|
|
193 | (2) |
|
|
195 | (24) |
|
What's Your Favorite Color (Scheme)? |
|
|
195 | (10) |
|
Dynamic File Type Configuration Through Scripting |
|
|
205 | (8) |
|
Some Additional Thoughts About Vim Scripting |
|
|
213 | (5) |
|
|
218 | (1) |
|
|
219 | (20) |
|
General Introduction to gvim |
|
|
220 | (5) |
|
Customizing Scrollbars, Menus, and Toolbars |
|
|
225 | (11) |
|
gvim in Microsoft Windows |
|
|
236 | (1) |
|
gvim in the X Window System |
|
|
237 | (1) |
|
GUI Options and Command Synopsis |
|
|
237 | (2) |
|
Vim Enhancements for Programmers |
|
|
239 | (46) |
|
Folding and Outlining (Outline Mode) |
|
|
240 | (11) |
|
|
251 | (8) |
|
Keyword and Dictionary Word Completion |
|
|
259 | (9) |
|
|
268 | (2) |
|
|
270 | (9) |
|
Compiling and Checking Errors with Vim |
|
|
279 | (5) |
|
Some Final Thoughts on Vim for Writing Programs |
|
|
284 | (1) |
|
|
285 | (22) |
|
|
285 | (2) |
|
Digraphs: Non-ASCII Characters |
|
|
287 | (2) |
|
Editing Files in Other Places |
|
|
289 | (1) |
|
Navigating and Changing Directories |
|
|
290 | (2) |
|
|
292 | (1) |
|
|
293 | (1) |
|
|
294 | (2) |
|
|
296 | (1) |
|
|
297 | (3) |
|
|
300 | (2) |
|
Abbreviations of Vim Commands and Options |
|
|
302 | (1) |
|
A Few Quickies (Not Necessarily Vim-Specific) |
|
|
303 | (1) |
|
|
304 | (3) |
|
Part III. Other vi Clones |
|
|
|
|
307 | (10) |
|
|
307 | (1) |
|
Important Command-Line Arguments |
|
|
308 | (1) |
|
Online Help and Other Documentation |
|
|
309 | (1) |
|
|
309 | (1) |
|
|
310 | (1) |
|
|
311 | (1) |
|
Extended Regular Expressions |
|
|
311 | (1) |
|
|
312 | (3) |
|
|
315 | (1) |
|
|
315 | (1) |
|
Sources and Supported Operating Systems |
|
|
315 | (2) |
|
|
317 | (26) |
|
|
317 | (1) |
|
Important Command-Line Arguments |
|
|
317 | (2) |
|
Online Help and Other Documentation |
|
|
319 | (1) |
|
|
319 | (1) |
|
|
320 | (3) |
|
|
323 | (5) |
|
Extended Regular Expressions |
|
|
328 | (1) |
|
Improved Editing Facilities |
|
|
328 | (4) |
|
|
332 | (3) |
|
|
335 | (5) |
|
|
340 | (1) |
|
Sources and Supported Operating Systems |
|
|
340 | (3) |
|
|
343 | (104) |
|
|
343 | (1) |
|
Important Command-Line Arguments |
|
|
344 | (1) |
|
Online Help and Other Documentation |
|
|
345 | (1) |
|
|
346 | (1) |
|
|
347 | (2) |
|
|
349 | (8) |
|
Extended Regualr Expressions |
|
|
357 | (2) |
|
Improved Editing Facilities |
|
|
359 | (6) |
|
|
365 | (3) |
|
|
368 | (6) |
|
Sources and Supported Operating Systems |
|
|
374 | (3) |
|
|
|
The vi, ex, and Vim Editors |
|
|
377 | (38) |
|
|
415 | (16) |
|
|
431 | (4) |
|
|
435 | (12) |
Index |
|
447 | |