IRIS DC1100E manual Examples

Models: DC1100 DC1100E

1 60
Download 60 pages 47.35 Kb
Page 60
Image 60

ƒ:n -- start editing next file in list

ƒ:rew -- rewind file list, start editing 1st file on argument list again

ƒQ -- quit vi and enter ex

ƒ:pre -- Preserve file.

ƒ:rec file -- recover file

Examples 2

ƒj -- move cursor down

ƒk -- move cursor up

ƒh = [BS] -- move cursor left

ƒl = [SPACE] -- move cursor right

ƒ+ = [RETURN] -- first non-whitespace character on next line

ƒcw -- change word

ƒdd = d_ -- delete line

ƒyy = y_ -- yank current line into the general buffer

ƒ"ayj -- yank current line and one below into buffer a

ƒyfc -- yank until next occurrence of c on current line into the general buffer

ƒ3dl = d3l -- delete next 3 characters

ƒ4c( = 2c2( = c4( -- change next 4 sentences

ƒ>% -- While on a brace, paren., or bracket; shift right until closing brace, etc.

ƒ:%!sort = :1,$!sort -- sort current file

ƒ:5,10s/foo/bar/2 -- change the second occurrence of foo with bar on lines 5-10

ƒ3J -- Join next 2 lines to current one

ƒ3,9m$ -- move lines 3 through 9 to the end of the file

ƒab w/o with out -- when w/o is typed change to with out

ƒ:?foo?,/bar/d -- delete from the reverse match of foo until the next match of bar

ƒg/{/,/}/< -- shift all lines between, and including, a "{" and a "}" left

ƒ:$-4,$d -- delete last five lines of buffer

:%s/^\(.*\) \(.*\)$/\2 \1/ -- swap everything before and after the first space

Coaxial Networks, Inc.

Page 60 of 60

Page 60
Image 60
IRIS DC1100E manual Examples