vim tidbits of the day

by gorthx

:::–>vim

:grep [regexp] [file list]

vim will then load the files that match the regexp & position the cursor on the matching line.

use :cn and :cp to move between instances of the match.

Advertisements
Tags: ,
%d bloggers like this: