Mirror of the Vim source from https://github.com/vim/vim
Révision | fd68db1a72b5f05cc5e586ffe89a10ec6930005d (tree) |
---|---|
l'heure | 2008-01-04 23:17:47 |
Auteur | vimboss |
Commiter | vimboss |
updated for version 7.1-199
@@ -1,4 +1,4 @@ | ||
1 | -*cmdline.txt* For Vim version 7.1. Last change: 2006 Jul 18 | |
1 | +*cmdline.txt* For Vim version 7.1. Last change: 2008 Jan 04 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -316,7 +316,7 @@ | ||
316 | 316 | command-line is shown. (Note: the shifted arrow keys do not work on all |
317 | 317 | terminals) |
318 | 318 | |
319 | - *his* *:history* | |
319 | + *:his* *:history* | |
320 | 320 | :his[tory] Print the history of last entered commands. |
321 | 321 | {not in Vi} |
322 | 322 | {not available when compiled without the |+cmdline_hist| |
@@ -447,6 +447,11 @@ | ||
447 | 447 | |
448 | 448 | To completely ignore files with some extension use 'wildignore'. |
449 | 449 | |
450 | +To match only files that end at the end of the typed text append a "$". For | |
451 | +example, to match only files that end in ".c": > | |
452 | + :e *.c$ | |
453 | +This will not match a file ending in ".cpp". Without the "$" it does match. | |
454 | + | |
450 | 455 | The old value of an option can be obtained by hitting 'wildchar' just after |
451 | 456 | the '='. For example, typing 'wildchar' after ":set dir=" will insert the |
452 | 457 | current value of 'dir'. This overrules file name completion for the options |
@@ -4078,6 +4078,7 @@ | ||
4078 | 4078 | * ~ would be at the start of the file name, but not the tail. |
4079 | 4079 | * $ could be anywhere in the tail. |
4080 | 4080 | * ` could be anywhere in the file name. |
4081 | + * When the name ends in '$' don't add a star, remove the '$'. | |
4081 | 4082 | */ |
4082 | 4083 | tail = gettail(retval); |
4083 | 4084 | if ((*retval != '~' || tail != retval) |
@@ -4085,6 +4086,8 @@ | ||
4085 | 4086 | && vim_strchr(tail, '$') == NULL |
4086 | 4087 | && vim_strchr(retval, '`') == NULL) |
4087 | 4088 | retval[len++] = '*'; |
4089 | + else if (len > 0 && retval[len - 1] == '$') | |
4090 | + --len; | |
4088 | 4091 | retval[len] = NUL; |
4089 | 4092 | } |
4090 | 4093 | } |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 199, | |
671 | +/**/ | |
670 | 672 | 198, |
671 | 673 | /**/ |
672 | 674 | 197, |