学习vi和vim编辑器(英文影印版)(第七版)
基本信息
- 作者: Arnold Robbins Elbert Hannah Linda Lamb [作译者介绍]
- 丛书名: 开明出版社O'REILLY系列
- 出版社:开明出版社
- ISBN:9787802057364
- 上架时间:2009-5-26
- 出版日期:2009 年4月
- 开本:16开
- 页码:470
- 版次:7-1
- 所属分类:
计算机 > 操作系统 > Linux
编辑推荐
如果你使用Unix和Linux的话,vi和Vim是必备知识,因此,本书也是必备之书。
“vi, 如同很多在Unix早期阶段开发的经典应用程序一样,有着不易使用的评价。Bram Moolenaar的增强版克隆,Vim,已经为消除这样的印象做了非常多的努力……它可能已经成为最流行的vi版本。”
内容简介回到顶部↑
在过去将近30年的时间里,vi已经成为unix和linux的标准编辑器,而从1986年开始本书也已成为vi的主要指南。但是现在unix已经不是三十年前的样子,这本书也同样不会是。《学习vi和vim 第七版》已经进行了扩展,包括了vim这个主要vi克隆的细节。.
vim作为目前绝大多数linux系统的缺省编辑器和mac os x的缺省vi版本,也可以应用于很多其他操作系统。这本指南在讲解文本编辑基础知识的同时,也涵盖了高级工具,例如用交互式的宏和脚本来扩展编辑器的功能——所有这些都用易于理解的方式来传授,这种风格已经让本书成为经典。你将学到以下内容:
· 高效使用vi
· 深入讲解vi的知识,例如使用缓存
· 使用vi的全局搜索替换功能
· 定制vi以及运行unix命令..
· 使用vim的扩展文本对象和强大正则表达式
· 使用多窗口编辑并且编写vim脚本
· 发挥图形用户界面版的vim也就是gvim的全部功能
· 使用vim的增强功能,例如语法高亮和扩展标签
· 将vim和其他三个vi的克隆nvi、elvis和vile进行比较
如果你使用unix和linux的话,vi和vim是必备知识,因此,本书也是必备之书。...
vim作为目前绝大多数linux系统的缺省编辑器和mac os x的缺省vi版本,也可以应用于很多其他操作系统。这本指南在讲解文本编辑基础知识的同时,也涵盖了高级工具,例如用交互式的宏和脚本来扩展编辑器的功能——所有这些都用易于理解的方式来传授,这种风格已经让本书成为经典。你将学到以下内容:
· 高效使用vi
· 深入讲解vi的知识,例如使用缓存
· 使用vi的全局搜索替换功能
· 定制vi以及运行unix命令..
· 使用vim的扩展文本对象和强大正则表达式
· 使用多窗口编辑并且编写vim脚本
· 发挥图形用户界面版的vim也就是gvim的全部功能
· 使用vim的增强功能,例如语法高亮和扩展标签
· 将vim和其他三个vi的克隆nvi、elvis和vile进行比较
如果你使用unix和linux的话,vi和vim是必备知识,因此,本书也是必备之书。...
作译者回到顶部↑
本书提供作译者介绍
Arnold Robbins是一位专业程序员和技术作者,从1980年开始就在Unix系统上工作,帮助过awk的POSIX标准制订。.
Elbert Hannah是一位专业软件工程师和架构师,他的第一个工作任务是在1983年用汇编语言编写一个全屏编辑器。..
Linda Lamb,O'Reilly的首批作者之一,也是公司的技术作者和市场经理。...
.. << 查看详细
Elbert Hannah是一位专业软件工程师和架构师,他的第一个工作任务是在1983年用汇编语言编写一个全屏编辑器。..
Linda Lamb,O'Reilly的首批作者之一,也是公司的技术作者和市场经理。...
.. << 查看详细
目录回到顶部↑
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
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
前言回到顶部↑
Text editing is one of the most common tasks on any computer system, and vi is one of the most useful standard text editors on a system. With vi you can create new files or edit any existing text-only file. .
vi, like many of the classic utilities developed during the early years of Unix, has a reputation for being hard to navigate. Bram Moolenaar's enhanced clone, Vim ("vi Improved"), has gone a long way toward removing reasons for such impressions. Vim includes countless conveniences, visual guides, and help screens. It has become probably the most popular version of vi, so this seventh edition of this book devotes seven new chapters to it in Part II, Vim. However, many other worthy clones of vi also exist; we cover three of them in Part III, Other vi Clones.
Scope of This Book
This book consists of 18 chapters and 4 appendixes, divided into 4 parts. Part I, Basic and Advanced vi, is designed to get you started using vi quickly, and to follow up with advanced skills that will let you use it effectively.
The first two chapters, Chapter 1, The vi Text Editor, and Chapter 2, Simple Editing, present some simple vi commands with which you can get started. You should practice these until they are second nature. You could stop reading at the end of Chapter 2, having learned some elementary editing tools.
But vi is meant to do a lot more than rudimentary word processing; the variety of commands and options enables you to shortcut a lot of editing drudgery. Chapter 3, Moving Around in a Hurry, and Chapter 4, Beyond the Basics, concentrate on easier ways to do tasks. During your first reading, you'll get at least an idea of what vi can do and what commands you might harness for your specific needs. Later, you can come back to these chapters for further study.
Chapter 5, Introducing the ex Editor, Chapter 6, Global Replacement, and Chapter 7, Advanced Editing, provide tools that help you shift more of the editing burden to the computer. They introduce you to the ex line editor underlying vi, and they show you how to issue ex commands from within vi.
Chapter 8, Introduction to the vi Clones, provides an introduction to the extensions available in the four vi clones covered in this book. It centralizes in one place the descriptions of multiwindow editing, GUI interfaces, extended regular expressions, facilities that make editing easier, and several other features, providing a roadmap to what follows in the rest of this book. It also provides a pointer to source code for the original vi, which can be compiled easily on modem Unix systems (including GNU/Linux).
Part II, Vim, describes Vim, the most popular vi clone in the early part of the 21st century.
Chapter 9, Vim (vi Improved): An Introduction, provides a general introduction to Vim, including where to get binary versions for popular operating systems and some of the different ways to use Vim.
Chapter 10, Major Vim Improvements over vi, describes the major improvements in Vim over vi, such as built-in help, control over initialization, additional motion commands, and extended regular expressions.
Chapter 11, Multiple Windows in Vim, focuses on multiwindow editing, which is perhaps the most significant additional feature over standard vi. This chapter provides all the details on creating and using multiple windows.
Chapter 12, Vim Scripts, looks into the Vim command language, which lets you write scripts to customize and tailor Vim to suit your needs. Much of Vim's ease of use "out of the box" comes from the large number of scripts that other users have already written and contributed to the Vim distribution.
Chapter 13, Graphical Vim (grim), looks at Vim in modem GUI environments, such as those that are now standard on commercial Unix systems, GNU/Linux and other Unix work-alikes, and MS Windows.
Chapter 14, Vim Enhancements for Programmers, focuses on Vim's use as a programmer's editor, above and beyond its facilities for general text editing. Of particular value are the folding and outlining facilities, smart indenting, syntax highlighting, and editcompile-debug cycle speedups.
Chapter 15, Other Cool Stuff in Vim, is a bit of a catch-all chapter, covering a number of interesting points that don't fit into the earlier chapters.
Part III, Other vi Clones, describes three other popular vi clones: nvi, elvis, and vile. Chapter 16, nvi: New vi, Chapter 17, Elvis, and Chapter 18, vile: vi Like Emacs, cover the various vi clones--nvi, elvis, and vile showing you how to use their extensions to vi and discussing the features that are specific to each one.
Part IV, Appendixes, provides useful reference material.
Appendix A, The vi, ex, and Vim Editors, lists all vi and ex commands, sorted by function. It also provides an alphabetical list of ex commands. Selected vi and ex commands from Vim are also included.
Appendix B, Setting Options, lists set command options for vi and for all four clones.
vi, like many of the classic utilities developed during the early years of Unix, has a reputation for being hard to navigate. Bram Moolenaar's enhanced clone, Vim ("vi Improved"), has gone a long way toward removing reasons for such impressions. Vim includes countless conveniences, visual guides, and help screens. It has become probably the most popular version of vi, so this seventh edition of this book devotes seven new chapters to it in Part II, Vim. However, many other worthy clones of vi also exist; we cover three of them in Part III, Other vi Clones.
Scope of This Book
This book consists of 18 chapters and 4 appendixes, divided into 4 parts. Part I, Basic and Advanced vi, is designed to get you started using vi quickly, and to follow up with advanced skills that will let you use it effectively.
The first two chapters, Chapter 1, The vi Text Editor, and Chapter 2, Simple Editing, present some simple vi commands with which you can get started. You should practice these until they are second nature. You could stop reading at the end of Chapter 2, having learned some elementary editing tools.
But vi is meant to do a lot more than rudimentary word processing; the variety of commands and options enables you to shortcut a lot of editing drudgery. Chapter 3, Moving Around in a Hurry, and Chapter 4, Beyond the Basics, concentrate on easier ways to do tasks. During your first reading, you'll get at least an idea of what vi can do and what commands you might harness for your specific needs. Later, you can come back to these chapters for further study.
Chapter 5, Introducing the ex Editor, Chapter 6, Global Replacement, and Chapter 7, Advanced Editing, provide tools that help you shift more of the editing burden to the computer. They introduce you to the ex line editor underlying vi, and they show you how to issue ex commands from within vi.
Chapter 8, Introduction to the vi Clones, provides an introduction to the extensions available in the four vi clones covered in this book. It centralizes in one place the descriptions of multiwindow editing, GUI interfaces, extended regular expressions, facilities that make editing easier, and several other features, providing a roadmap to what follows in the rest of this book. It also provides a pointer to source code for the original vi, which can be compiled easily on modem Unix systems (including GNU/Linux).
Part II, Vim, describes Vim, the most popular vi clone in the early part of the 21st century.
Chapter 9, Vim (vi Improved): An Introduction, provides a general introduction to Vim, including where to get binary versions for popular operating systems and some of the different ways to use Vim.
Chapter 10, Major Vim Improvements over vi, describes the major improvements in Vim over vi, such as built-in help, control over initialization, additional motion commands, and extended regular expressions.
Chapter 11, Multiple Windows in Vim, focuses on multiwindow editing, which is perhaps the most significant additional feature over standard vi. This chapter provides all the details on creating and using multiple windows.
Chapter 12, Vim Scripts, looks into the Vim command language, which lets you write scripts to customize and tailor Vim to suit your needs. Much of Vim's ease of use "out of the box" comes from the large number of scripts that other users have already written and contributed to the Vim distribution.
Chapter 13, Graphical Vim (grim), looks at Vim in modem GUI environments, such as those that are now standard on commercial Unix systems, GNU/Linux and other Unix work-alikes, and MS Windows.
Chapter 14, Vim Enhancements for Programmers, focuses on Vim's use as a programmer's editor, above and beyond its facilities for general text editing. Of particular value are the folding and outlining facilities, smart indenting, syntax highlighting, and editcompile-debug cycle speedups.
Chapter 15, Other Cool Stuff in Vim, is a bit of a catch-all chapter, covering a number of interesting points that don't fit into the earlier chapters.
Part III, Other vi Clones, describes three other popular vi clones: nvi, elvis, and vile. Chapter 16, nvi: New vi, Chapter 17, Elvis, and Chapter 18, vile: vi Like Emacs, cover the various vi clones--nvi, elvis, and vile showing you how to use their extensions to vi and discussing the features that are specific to each one.
Part IV, Appendixes, provides useful reference material.
Appendix A, The vi, ex, and Vim Editors, lists all vi and ex commands, sorted by function. It also provides an alphabetical list of ex commands. Selected vi and ex commands from Vim are also included.
Appendix B, Setting Options, lists set command options for vi and for all four clones.








点击看大图





加载中...

