comparison runtime/doc/cmdline.txt @ 1937:d92bab35a167 v7.2.234

updated for version 7.2-234
author vimboss
date Tue, 14 Jul 2009 19:40:21 +0000
parents 5a7384b9ca66
children de5a43c5eedc
comparison
equal deleted inserted replaced
1936:85a99ba3eb5a 1937:d92bab35a167
439 For file name completion you can use the 'suffixes' option to set a priority 439 For file name completion you can use the 'suffixes' option to set a priority
440 between files with almost the same name. If there are multiple matches, 440 between files with almost the same name. If there are multiple matches,
441 those files with an extension that is in the 'suffixes' option are ignored. 441 those files with an extension that is in the 'suffixes' option are ignored.
442 The default is ".bak,~,.o,.h,.info,.swp,.obj", which means that files ending 442 The default is ".bak,~,.o,.h,.info,.swp,.obj", which means that files ending
443 in ".bak", "~", ".o", ".h", ".info", ".swp" and ".obj" are sometimes ignored. 443 in ".bak", "~", ".o", ".h", ".info", ".swp" and ".obj" are sometimes ignored.
444 It is impossible to ignore suffixes with two dots. Examples: 444
445 An empty entry, two consecutive commas, match a file name that does not
446 contain a ".", thus has no suffix. This is useful to ignore "prog" and prefer
447 "prog.c".
448
449 Examples:
445 450
446 pattern: files: match: ~ 451 pattern: files: match: ~
447 test* test.c test.h test.o test.c 452 test* test.c test.h test.o test.c
448 test* test.h test.o test.h and test.o 453 test* test.h test.o test.h and test.o
449 test* test.i test.h test.c test.i and test.c 454 test* test.i test.h test.c test.i and test.c
455
456 It is impossible to ignore suffixes with two dots.
450 457
451 If there is more than one matching file (after ignoring the ones matching 458 If there is more than one matching file (after ignoring the ones matching
452 the 'suffixes' option) the first file name is inserted. You can see that 459 the 'suffixes' option) the first file name is inserted. You can see that
453 there is only one match when you type 'wildchar' twice and the completed 460 there is only one match when you type 'wildchar' twice and the completed
454 match stays the same. You can get to the other matches by entering 461 match stays the same. You can get to the other matches by entering