|
1 | | -*editing.txt* For Vim version 8.2. Last change: 2021 May 27 |
| 1 | +*editing.txt* For Vim version 8.2. Last change: 2021 Jul 25 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -1469,8 +1469,11 @@ be readable again. If you use a wrong key, it will be a mess. |
1469 | 1469 | :X Prompt for an encryption key. The typing is done without showing the |
1470 | 1470 | actual text, so that someone looking at the display won't see it. |
1471 | 1471 | The typed key is stored in the 'key' option, which is used to encrypt |
1472 | | - the file when it is written. The file will remain unchanged until you |
1473 | | - write it. See also |-x|. |
| 1472 | + the file when it is written. |
| 1473 | + The file will remain unchanged until you write it. Note that commands |
| 1474 | + such as `:xit` and `ZZ` will NOT write the file unless there are other |
| 1475 | + changes. |
| 1476 | + See also |-x|. |
1474 | 1477 |
|
1475 | 1478 | The value of the 'key' options is used when text is written. When the option |
1476 | 1479 | is not empty, the written file will be encrypted, using the value as the |
@@ -1749,6 +1752,12 @@ There are three different types of searching: |
1749 | 1752 | /u/user_x/work/include |
1750 | 1753 | /u/user_x/include |
1751 | 1754 |
|
| 1755 | +< Note: If your 'path' setting includes an non-existing directory, Vim will |
| 1756 | + skip the non-existing directory, but continues searching in the parent of |
| 1757 | + the non-existing directory if upwards searching is used. E.g. when |
| 1758 | + searching "../include" and that doesn't exist, and upward searching is |
| 1759 | + used, also searches in "..". |
| 1760 | + |
1752 | 1761 | 3) Combined up/downward search: |
1753 | 1762 | If Vim's current path is /u/user_x/work/release and you do > |
1754 | 1763 | set path=**;/u/user_x |
|
0 commit comments