Mercurial > vim
comparison runtime/doc/usr_12.txt @ 43:f55897d6921d v7.0026
updated for version 7.0026
author | vimboss |
---|---|
date | Wed, 29 Dec 2004 21:03:02 +0000 |
parents | 3fc0f57ecb91 |
children | 05dc93b9c61f |
comparison
equal
deleted
inserted
replaced
42:c75153d791d0 | 43:f55897d6921d |
---|---|
1 *usr_12.txt* For Vim version 7.0aa. Last change: 2004 May 01 | 1 *usr_12.txt* For Vim version 7.0aa. Last change: 2004 Dec 29 |
2 | 2 |
3 VIM USER MANUAL - by Bram Moolenaar | 3 VIM USER MANUAL - by Bram Moolenaar |
4 | 4 |
5 Clever tricks | 5 Clever tricks |
6 | 6 |
343 :grep error_string *.c | 343 :grep error_string *.c |
344 | 344 |
345 This causes Vim to search for the string "error_string" in all the specified | 345 This causes Vim to search for the string "error_string" in all the specified |
346 files (*.c). The editor will now open the first file where a match is found | 346 files (*.c). The editor will now open the first file where a match is found |
347 and position the cursor on the first matching line. To go to the next | 347 and position the cursor on the first matching line. To go to the next |
348 matching line (no matter in what it is file), use the ":cnext" command. To go | 348 matching line (no matter in what file it is), use the ":cnext" command. To go |
349 to the previous match, use the ":cprev" command. Use ":clist" to see all the | 349 to the previous match, use the ":cprev" command. Use ":clist" to see all the |
350 matches and where they are. | 350 matches and where they are. |
351 The ":grep" command uses the external commands grep (on Unix) or findstr | 351 The ":grep" command uses the external commands grep (on Unix) or findstr |
352 (on Windows). You can change this by setting the option 'grepprg'. | 352 (on Windows). You can change this by setting the option 'grepprg'. |
353 | 353 |