学习Vi和vim编辑器 电子书下载 PDF下载

学习Vi和vim编辑器
内容简介
内容为:在过去将近30年的时间里,vi已经成为Unix和Linux的标准编辑器,而从1986年开始《学习Vi和vim编辑器(影印版)》也已成为vi的主要指南。但是现在Unix已经不是三十年前的样子,这《学习Vi和vim编辑器(影印版)》也同样不会是。《学习vi和Vim 第七版》已经进行了扩展,包括了Vim这个主要vi克隆的细节。Vim作为目前绝大多数Linux系统的缺省编辑器和Mac OS X的缺省vi版本,也可以应用于很多其他操作系统。这本指南在讲解文本编辑基础知识的同时,也涵盖了高级工具,例如用交互式的宏和脚本来扩展编辑器的功能——所有这些都用易于理解的方式来传授,这种风格已经让《学习Vi和vim编辑器(影印版)》成为经典。如果你使用Unix和Linux的话,vi和Vim是必备知识,因此,《学习Vi和vim编辑器(影印版)》也是必备之书。你将学到以下内容:
  · 高效使用vi
  · 深入讲解vi的知识,例如使用缓存
  · 使用vi的全局搜索替换功能
  · 定制vi以及运行Unix命令..
  · 使用Vim的扩展文本对象和强大正则表达式
  · 使用多窗口编辑并且编写Vim脚本
  · 发挥图形用户界面版的Vim也就是gvim的全部功能
  · 使用Vim的增强功能,例如语法高亮和扩展标签
  · 将Vim和其他三个vi的克隆nvi、elvis和vile进行比较 ·查看全部>>
目录
Preface .
Part I. Basic and Advanced vi
1. The vi Text Editor
A Brief Historical Perspective
Opening and Closing Files
Quitting Without Saving Edits

2. Simple Editing
vi Commands
Moving the Cursor
Simple Edits
More Ways to Insert Text
Joining Two Lines with J
Review of Basic vi Commands

3. Moving Around in a Hurry
Movement by Screens
Movement by Text Blocks
Movement by Searches
Movement by Line Number
Review of vi Motion Commands

4. Beyond the Basics
More Command Combinations
Options When Starting vi
Making Use of Buffers
Marking Your Place
Other Advanced Edits
Review of vi Buffer and Marking Commands

5. Introducing the ex Editor
ex Commands
Editing with ex
Saving and Exiting Files
Copying a File into Another File
Editing Multiple Files

6. Global Replacement
Confirming Substitutions
Context-Sensitive Replacement
Pattern-Matching Rules
Pattern-Matching Examples
A Final Look at Pattern Matching

7. Advanced Editing
Customizing vi
Executing Unix Commands
Saving Commands
Using ex Scripts
Editing Program Source Code

8. Introduction to the vi Clones
And These Are My Brothers, Darrell, Darrell, and Darrell
Multiwindow Editing
GUI Interfaces
Extended Regular Expressions
Enhanced Tags
Improved Facilities
Programming Assistance
Editor Comparison Summary
Nothing Like the Original
A Look Ahead
Part II. Vim

9. Vim (vi Improved): An Introduction
Overview
Where to Get Vim
Getting Vim for Unix and GNU/Linux
Getting Vim for Windows Environments
Getting Vim for the Macintosh Environment
Other Operating Systems
Aids and Easy Modes for New Users
Summary

10. Major Vim Improvements over vi
Built-in Help
Startup and Initialization Options
New Motion Commands
Extended Regular Expressions
Customizing the Executable

11. Multiple Windows in Vim
Initiating Multiwindow Editing
Opening Windows
Moving Around Windows (Getting Your Cursor from Here to There)..
Moving Windows Around
Resizing Windows
Buffers and Their Interaction with Windows
Playing Tag with Windows
Tabbed Editing
Closing and Quitting Windows
Summary

12. Vim Scripts
Whats Your Favorite Color (Scheme)?
Dynamic File Type Configuration Through Scripting
Some Additional Thoughts About Vim Scripting
Resources

13. Graphical Vim (gvim)
General Introduction to gvim
Customizing Scrollbars, Menus, and Toolbars
gvim in Microsoft Windows
gvim in the X Window System
GUI Options and Command Synopsis

14. Vim Enhancements for Programmers
Folding and Outlining (Outline Mode)
Auto and Smart Indenting
Keyword and Dictionary Word Completion
Tag Stacking
Syntax Highlighting
Compiling and Checking Errors with Vim
Some Final Thoughts on Vim for Writing Programs

15. Other Cool Stuff in Vim
Editing Binary Files
Digraphs: Non-ASCII Characters
Editing Files in Other Places
Navigating and Changing Directories
Backups with Vim
HTML Your Text
Whats the Difference?
Undoing Undos
Now, Where Was I?
Whats My Line (Size)?
Abbreviations of Vim Commands and Options
A Few Quickies (Not Necessarily Vim-Specific)
More Resources
Part III. Other vi Clones

16. nvi: New vi
Author and History
Important Command-Line Arguments
Online Help and Other Documentation
Initialization
Multiwindow Editing
GUI Interfaces
Extended Regular Expressions
Improvements for Editing
Programming Assistance
Interesting Features
Sources and Supported Operating Systems

17. Elvis
Author and History
Important Command-Line Arguments
Online Help and Other Documentation
Initialization
Multiwindow Editing
GUI Interfaces
Extended Regular Expressions
Improved Editing Facilities
Programming Assistance
Interesting Features
elvis Futures
Sources and Supported Operating Systems

18. vile: vi Like Emacs
Authors and History
Important Command-Line Arguments
Online Help and Other Documentation
Initialization
Multiwindow Editing
GUI Interfaces
Extended Regular Expressions
Improved Editing Facilities
Programming Assistance
Interesting Features
Sources and Supported Operating Systems
Part IV. Appendixes
A. The vi, ex, and Vim Editors
B. Setting Options
C. Problem Checklists
D. vi and the Internet
Index
Copyright © 2024 by topbester.com.
All Rights Reserved.
沪ICP备14027842号-1