VI Tutorial - Lesson 11 - Operators and Scopes
VI Tutorial - Lesson 11 - Operators and Scopes
Delete Operator & Scope |
Resulting Action |
dw |
delete word forward |
db |
delete word backward |
d$ |
delete from cursor to end of line (same as D) |
d0 |
delete from cursor to beginning of line |
dL |
delete from current line to end of screen |
dG |
delete from current line to end of file |
d) |
delete complete sentence forward |
d( |
delete complete sentence backwards |
dd |
delete complete line |
Change Operator & Scope |
Resulting Action |
cw |
change word forward |
cb |
change word backward |
c$ |
change from cursor to end of line (same as C) |
c0 |
change from cursor to beginning of line |
cL |
change from current line to end of screen |
cG |
change from current line to end of file |
c) |
change from cursor to sentence start |
c( |
change from cursor to sentence end |
cc |
change complete line |
Yank Operator & Scope |
Resulting Action |
yw |
yank word forward |
yb |
yank word backward |
y$ |
yank from cursor to end of line (same as Y) |
y0 |
yank from cursor to beginning of line |
yL |
yank from current line to end of screen |
yG |
yank from current line to end of file |
y) |
yank from cursor to start of sentence |
y( |
yank from cursor to end of sentence |
yy |
yank complete line |
previous | MENU
Last modified: 2009/09/01 09:46:26.251000 GMT-4 by
christopher.n.deckard.1
Created: 2007/11/06 14:24:30.993000 US/Eastern by brian.r.brinegar.1.
Categories
Search the Knowledge Base