GE Healthcare Brivo XR118 Service Manual page 209

Table of Contents

Advertisement

GE H
EALTHCARE
D
5461425-8EN, R
IRECTION
3.) Pasting Text
4.)
5.) Special Characters
Item
<^>
<.>
<*>
<$>
< [ >
<<>
<>>
6.) Inserting New Text
6
EVISION
<dw> deletes from current cursor position to the end of the word.
<3d> deletes three lines from current cursor position downwards.
There is also the <y> command which operates similarly to the d command which take text
from the file without deleting the text.
The commands to paste are <p> and <P>. The only differ in the position relative to the cursor
where they paste. <p> pastes the specified or general buffer after the cursor position, while
<P> pastes the specified or general buffer before the cursor position. Specifying count before
the paste command pastes text the specified number of times.
Word and Character Searching
The VI editor has two kinds of searches: string and character. For a string search, the </> and
<?> commands are used. When you start these commands, the command just typed will be
shown on the bottom line, where you type the particular string to look for. These two
commands differ only in the direction where the search takes place. The </> command
searches forwards (downwards) in the file, while the <?> command searches backwards
(upwards) in the file. The <n> and <N> commands repeat the previous search command in the
same or opposite direction, respectively. Some characters have special meanings to VI, so
they must be preceded by a back slash <\> to be included as part of the search expression.
Beginning of the line. (At the beginning of a search expression.)
Matches a single character.
Matches zero or more of the previous character.
End of the line (At the end of the search expression.)
Starts a set of matching, or non-matching expression. For example: /f[iae]t matches
either of these: fit fat fet In this form, it matches anything except these: /a[^bcd] will
not match any of these, but anything with an a and another letter: ab ac ad
Put in an expression escaped with the backslash to find the ending or beginning of a
word. For example: </\the\> should find only word the, but not words like these:
there and other.
See the <<> character description above.
The character search searches within one line to find a character entered after the command.
The <f> and <F> commands search for a character on the current line only. <f> searches
forwards and <F> searches backwards and the cursor moves to the position of the found
character.
The <t> command search for a character on the current line only, but for <t>, the cursor moves
to the position before the character, and <T> searches the line backwards to the position after
the character.
These two sets of commands can be repeated using the <;> or <,> command, where <;>
repeats the last character search command in the same direction, while <,> repeats the
command in the reverse direction.
Chapter 8 - - Troubleshooting
B
XR118 S
RIVO
Description
M
ERVICE
ANUAL
Page 209

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents