代码搜索结果
找到约 10,000 项符合
L 的代码
l5.2
#print
Yanking and Putting
Often you will want to move text from one place in the file to another.
You do this in vi by first deleting it, all in one chunk (e.g. to delete 5 lines
type '5dd', n
l5.1
#print
More Alteration - Targets
When we first looked at the 'dd' and 'cc' commands, we said that they were
special cases of more general commands. In fact, 'd' and 'c' are the basis
for some o
l0
#next
1.1a 10
l6.1
#print
Misc. Useful Features - Advanced Insert Mode
There are a few things which you can do in insert mode which we didn't
talk about before. For example, you probably noticed that you can u
l3.2
#print
Basic Alteration - Insert and Delete II
Now we'll see how to change things at a larger scale than individual
characters. Suppose you wanted to put a blank line into your file. You could
l6.2
#print
Misc. Useful Features - The Outer Editor I
You may remember that we said at the outset that vi is built on top of
another, line-oriented, editor, called 'ex'. Whenever you use a colon
co
l4.0
#print
The First Stopping Point
It would be understandable if, at this point, you were feeling a little
dazed about all of the commands you've learned. If so, here is a good place
to take a res
l3.3
#print
Basic Alteration - Undoing and Redoing
The worst thing about the delete command is that sometimes you wish you
hadn't. No matter what single change you make to the file, though, vi can
l4.1
#print
More Movement - Words and Sentences
Actually, vi knows about much more than just characters and lines in
files. It has a concept of words and sentences. Vi defines a word in one
of two
l3.1
#print
Basic Alteration - Insert and Delete I
So now you can move around nearly to your heart's content. Wouldn't it
be nice if you could change something? In the next two lessons you'll see
h