|
1 |
| -*options.txt* For Vim version 9.1. Last change: 2024 Oct 06 |
| 1 | +*options.txt* For Vim version 9.1. Last change: 2024 Oct 14 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -1151,12 +1151,13 @@ A jump table for the options with a short description can be found at |Q_op|.
|
1151 | 1151 | useful for example in source trees where all the files are symbolic or
|
1152 | 1152 | hard links and any changes should stay in the local source tree, not
|
1153 | 1153 | be propagated back to the original source.
|
1154 |
| - *crontab* |
| 1154 | + *crontab* |
1155 | 1155 | One situation where "no" and "auto" will cause problems: A program
|
1156 | 1156 | that opens a file, invokes Vim to edit that file, and then tests if
|
1157 | 1157 | the open file was changed (through the file descriptor) will check the
|
1158 | 1158 | backup file instead of the newly created file. "crontab -e" is an
|
1159 |
| - example. |
| 1159 | + example, as are several |file-watcher| daemons like inotify. In that |
| 1160 | + case you probably want to switch this option. |
1160 | 1161 |
|
1161 | 1162 | When a copy is made, the original file is truncated and then filled
|
1162 | 1163 | with the new text. This means that protection bits, owner and
|
@@ -7969,7 +7970,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
7969 | 7970 |
|
7970 | 7971 | Examples:
|
7971 | 7972 | Emulate standard status line with 'ruler' set >
|
7972 |
| - :set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P |
| 7973 | + :set statusline=%<%f\ %h%w%m%r%=%-14.(%l,%c%V%)\ %P |
7973 | 7974 | < Similar, but add ASCII value of char under the cursor (like "ga") >
|
7974 | 7975 | :set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
|
7975 | 7976 | < Display byte count and byte value, modified flag in red. >
|
|
0 commit comments