comparison runtime/doc/editing.txt @ 8061:abd64cf67bcf

commit https://github.com/vim/vim/commit/38a55639d603823efcf2d2fdf542dbffdeb60b75 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 15 22:07:32 2016 +0100 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Mon, 15 Feb 2016 22:45:05 +0100
parents 93f747af7b58
children f5da459c5698
comparison
equal deleted inserted replaced
8060:ec3056fe30fd 8061:abd64cf67bcf
1 *editing.txt* For Vim version 7.4. Last change: 2016 Feb 01 1 *editing.txt* For Vim version 7.4. Last change: 2016 Feb 11
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
401 Note there are some commands where this works slightly differently, see 401 Note there are some commands where this works slightly differently, see
402 |file-searching|. 402 |file-searching|.
403 Example: > 403 Example: >
404 :n **/*.txt 404 :n **/*.txt
405 Finds files: 405 Finds files:
406 ttt.txt 406 aaa.txt ~
407 subdir/ttt.txt 407 subdir/bbb.txt ~
408 a/b/c/d/ttt.txt 408 a/b/c/d/ccc.txt ~
409 When non-wildcard characters are used these are only matched in the first 409 When non-wildcard characters are used right before or after "**" these are
410 directory. Example: > 410 only matched in the top directory. They are not used for directories further
411 :n /usr/inc**/*.h 411 down in the tree. For example: >
412 :n /usr/inc**/types.h
412 Finds files: 413 Finds files:
413 /usr/include/types.h 414 /usr/include/types.h ~
414 /usr/include/sys/types.h 415 /usr/include/sys/types.h ~
415 /usr/inc_old/types.h 416 /usr/inc/old/types.h ~
417 Note that the path with "/sys" is included because it does not need to match
418 "/inc". Thus it's like matching "/usr/inc*/*/*...", not
419 "/usr/inc*/inc*/inc*".
420
416 *backtick-expansion* *`-expansion* 421 *backtick-expansion* *`-expansion*
417 On Unix and a few other systems you can also use backticks for the file name 422 On Unix and a few other systems you can also use backticks for the file name
418 argument, for example: > 423 argument, for example: >
419 :next `find . -name ver\\*.c -print` 424 :next `find . -name ver\\*.c -print`
420 :view `ls -t *.patch \| head -n1` 425 :view `ls -t *.patch \| head -n1`