Muutke küpsiste eelistusi

Learning The Vi and Vim Editors 7e 7th Revised edition [Pehme köide]

3.93/5 (1108 hinnangut Goodreads-ist)
  • Formaat: Paperback / softback, 494 pages, 1, black & white illustrations
  • Ilmumisaeg: 19-Aug-2008
  • Kirjastus: O'Reilly Media
  • ISBN-10: 059652983X
  • ISBN-13: 9780596529833
Teised raamatud teemal:
  • Pehme köide
  • Hind: 58,59 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 494 pages, 1, black & white illustrations
  • Ilmumisaeg: 19-Aug-2008
  • Kirjastus: O'Reilly Media
  • ISBN-10: 059652983X
  • ISBN-13: 9780596529833
Teised raamatud teemal:
A guide to vi and Vim covers the basics of text-editing along with information on such topics as macros, buffers, Unix commands, scripts, gvim, and vi clones. For nearly 30 years, vi has been the standard editor for Unix and Linux. This guide teaches vi text-editing basics as well as advanced tools, such as interactive macros and scripts to extend the editor. This seventh edition has been expanded to include detailed information on Vim, the leading vi clone. Part I explains basic and advanced skills for using vi. Part II describes Vim, the most popular vi clone, and Part III describes three other vi clones: nvi, elvis, and vile. Part IV consists of four reference appendices. Robbins is a professional programmer and technical author. Annotation ©2008 Book News, Inc., Portland, OR (booknews.com) Theres nothing that hard-core Unix and Linux users are more fanatical about than their text editor. Editors are the subject of adoration and worship, or of scorn and ridicule, depending upon whether the topic of discussion is your editor or someone elses. vi has been the standard editor for close to 30 years. Popular on Unix and Linux, it has a growing following on Windows systems, too. Most experienced system administrators cite vi as their tool of choice. And since 1986, this book has been the guide for vi. However, Unix systems are not what they were 30 years ago, and neither is this book. While retaining all the valuable features of previous editions, the 7th edition of Learning the vi and vim Editors has been expanded to include detailed information on vim, the leading vi clone. vim is the default version of vi on most Linux systems and on Mac OS X, and is available for many other operating systems too. With this guide, you learn text editing basics and advanced tools for both editors, such as multi-window editing, how to write both interactive macros and scripts to extend the editor, and power tools for programmers -- all in the easy-to-follow style that has made this book a classic. Learning the vi and vim Editors includes: A complete introduction to text editing with vi: How to move around vi in a hurry Beyond the basics, such as using buffers vis global search and replacement Advanced editing, including customizing vi and executing Unix commands How to make full use of vim: Extended text objects and more powerful regular expressions Multi-window editing and powerful vim scripts How to make full use of the GUI version of vim, called gvim vims enhancements for programmers, such as syntax highlighting, folding and extended tags Coverage of three other popular vi clones -- nvi, elvis, and vile -- is also included. Youll find several valuable appendixes, including an alphabetical quick reference to both vi and ex mode commands for regular vi and for vim, plus an updated appendix on vi and the Internet. Learning either vi or vim is required knowledge if you use Linux or Unix, and in either case, reading this book is essential. After reading this book, the choice of editor will be obvious for you too.
Preface xiii
Part I. Basic and Advanced vi
The vi Text Editor
3(10)
A Brief historical Perspective
5(1)
Opening and Closing Files
6(4)
Quitting Without Saving Edits
10(3)
Simple Editing
13(22)
vi Commands
13(1)
Moving the Cursor
14(4)
Simple Edits
18(12)
More Ways to Insert Text
30(1)
Joining Two Lines with J
31(1)
Review of Basic vi Commands
32(3)
Moving Around in a Hurry
35(12)
Movement by Screens
35(3)
Movement by Text Blocks
38(1)
Movement by Searches
39(4)
Movement by Line Number
43(1)
Review of vi Motion Commands
44(3)
Beyond the Basics
47(8)
More Command Combinations
47(1)
Options When Starting vi
48(3)
Making Use of Buffers
51(1)
Marking Your Place
52(1)
Other Advanced Edits
53(1)
Review of vi Buffer and Marking Commands
53(2)
Introducing the ex Editor
55(16)
ex Commands
55(3)
Editing with ex
58(5)
Saving and Exiting Files
63(2)
Copying a File into Another File
65(1)
Editing Multiple Files
65(6)
Global Replacement
71(24)
Confirming Substitutions
72(1)
Context-Sensitive Replacement
73(1)
Pattern-Matching Rules
74(7)
Pattern-Matching Examples
81(8)
A Final Look at Pattern Matching
89(6)
Advanced Editing
95(30)
Customizing vi
95(4)
Executing Unix Commands
99(4)
Saving Commands
103(11)
Using ex Scripts
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)
Multiwindow Editing
126(1)
GUI Interfaces
127(1)
Extended Regular Expressions
128(1)
Enhanced Tags
129(5)
Improved Facilities
134(4)
Programming Assistance
138(2)
Editor Comparison Summary
140(1)
Nothing Like the Original
141(1)
A Look Ahead
141(4)
Part II. Vim
Vim (vi Improved): An Introduction
145(14)
Overview
146(4)
Where to Get Vim
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)
Other Operating Systems
157(1)
Aids and Easy Modes for New Users
157(1)
Summary
158(1)
Major Vim Improvements over vi
159(14)
Built-in Help
159(1)
Startup and Initialization Options
160(7)
New Motion Commands
167(2)
Extended Regular Expressions
169(2)
Customizing the Executable
171(2)
Multiple Windows in Vim
173(22)
Initiating Multiwindow Editing
174(3)
Opening Windows
177(3)
Moving Around Windows (Getting Your Cursor from Here to There)
180(1)
Moving Windows Around
181(2)
Resizing Windows
183(3)
Buffers and Their Interaction with Windows
186(4)
Playing Tag with Windows
190(1)
Tabbed Editing
191(1)
Closing and Quitting Windows
192(1)
Summary
193(2)
Vim Scripts
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)
Resources
218(1)
Graphical Vim (gvim)
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)
Auto and Smart Indenting
251(8)
Keyword and Dictionary Word Completion
259(9)
Tag Stacking
268(2)
Syntax Highlighting
270(9)
Compiling and Checking Errors with Vim
279(5)
Some Final Thoughts on Vim for Writing Programs
284(1)
Other Cool Stuff in Vim
285(22)
Editing Binary Files
285(2)
Digraphs: Non-ASCII Characters
287(2)
Editing Files in Other Places
289(1)
Navigating and Changing Directories
290(2)
Backups with Vim
292(1)
HTML Your Text
293(1)
What's the Difference?
294(2)
Undoing Undos
296(1)
Now, Where Was I?
297(3)
What's My Line (Size)?
300(2)
Abbreviations of Vim Commands and Options
302(1)
A Few Quickies (Not Necessarily Vim-Specific)
303(1)
More Resources
304(3)
Part III. Other vi Clones
nvi: New vi
307(10)
Author and History
307(1)
Important Command-Line Arguments
308(1)
Online Help and Other Documentation
309(1)
Initialization
309(1)
Multiwindow Editing
310(1)
GUI Interfaces
311(1)
Extended Regular Expressions
311(1)
Improvements for Editing
312(3)
Programming Assistance
315(1)
Interesting Features
315(1)
Sources and Supported Operating Systems
315(2)
Elvis
317(26)
Author and History
317(1)
Important Command-Line Arguments
317(2)
Online Help and Other Documentation
319(1)
Initialization
319(1)
Multiwindow Editing
320(3)
GUI Interfaces
323(5)
Extended Regular Expressions
328(1)
Improved Editing Facilities
328(4)
Programming Assistance
332(3)
Interesting Features
335(5)
elvis Futures
340(1)
Sources and Supported Operating Systems
340(3)
vile: vi Like Emacs
343(104)
Authors and History
343(1)
Important Command-Line Arguments
344(1)
Online Help and Other Documentation
345(1)
Initialization
346(1)
Multiwindow Editing
347(2)
GUI Interfaces
349(8)
Extended Regualr Expressions
357(2)
Improved Editing Facilities
359(6)
Programming Assistance
365(3)
Interesting Features
368(6)
Sources and Supported Operating Systems
374(3)
Part IV. Appendixes
The vi, ex, and Vim Editors
377(38)
Setting Options
415(16)
Problem Checklists
431(4)
vi and the Internet
435(12)
Index 447
Arnold Robbins is a professional programmer and technical author who's worked with Unix systems since 1980. A heavy user of AWK and gawk (GNU's version), he helped shape the POSIX standard for AWK and currently maintains gawk and its documentation.Elbert Hannah is a professional software engineer and software architect recently finishing a 21-year career in the telcom industry. He wrote a full screen editor in assembler in 1983 and has had special interest in editors since.Linda Lamb is an editor with O'Reilly Media, having worked in various capacities, including technical writer, editor of technical books, and marketing manager.