[Next] [Up] [Previous] [Contents]
Next: Undoing changes Up: Vi reference Previous: Move commands (See

Searching


    :ta <name>              | Search in the tags file[s] where <name> is
                            |   defined (file, line), and go to it.
    ^]                      | Use the name under the cursor in a `:ta' command.
    ^T                      | Pop the previous tag off the tagstack and return
                            |   to its position.
    :[x,y]g/<string>/<cmd>  | Search globally [from line x to y] for <string>
                            |   and execute the `ex' <cmd> on each occurrence.
    :[x,y]v/<string>/<cmd>  | Execute <cmd> on the lines that don't match.

c.c.taylor@ieee.org