Skip to content

Commit 2d1abfe

Browse files
authored
Merge pull request #1082 from tsuyoshicho/update/20220423/editing
Update editing.{txt,jax}
2 parents 74f329c + 1900587 commit 2d1abfe

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

doc/editing.jax

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim バージョン 8.2. Last change: 2022 Apr 03
1+
*editing.txt* For Vim バージョン 8.2. Last change: 2022 Apr 16
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -437,7 +437,8 @@ Vim が何のシェルコマンドを実行しているか確認するために
437437

438438
この式の中の環境変数は式が評価される時に展開される。したがってこれは機能する: >
439439
:e `=$HOME .. '/.vimrc'`
440-
これは機能しない。$HOME は文字列内にあり、文字通りに用いられる: >
440+
これは、文字列内で $HOME がそのまま使われるため、ほとんどの場合あなたが意図し
441+
たものではない: >
441442
:e `='$HOME' .. '/.vimrc'`
442443
443444
式が文字列を返したときは名前は改行で区切られる。式の結果がリスト (|List|) のと
@@ -1215,7 +1216,7 @@ ZQ 変更点を確かめずに終了する (コマンド ":q!" と同様)。
12151216

12161217
常に ":confirm" を使いたいなら、代わりにオプション 'confirm' をオンにすること。
12171218

1218-
*:browse* *:bro* *E338* *E614* *E615* *E616*
1219+
*:browse* *:bro* *E338*
12191220
:bro[wse] {command} {command} の引数のためにファイル選択ダイアログを開く。
12201221
現在の所、これらのコマンドと共に使える |:e|, |:w|,
12211222
|:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|,

en/editing.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.2. Last change: 2022 Apr 03
1+
*editing.txt* For Vim version 8.2. Last change: 2022 Apr 16
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -445,7 +445,8 @@ does apply like to other wildcards.
445445
Environment variables in the expression are expanded when evaluating the
446446
expression, thus this works: >
447447
:e `=$HOME .. '/.vimrc'`
448-
This does not work, $HOME is inside a string and used literally: >
448+
This uses $HOME inside a string and it will be used literally, most likely not
449+
what you intended: >
449450
:e `='$HOME' .. '/.vimrc'`
450451
451452
If the expression returns a string then names are to be separated with line
@@ -1224,7 +1225,7 @@ Examples: >
12241225

12251226
If you want to always use ":confirm", set the 'confirm' option.
12261227

1227-
*:browse* *:bro* *E338* *E614* *E615* *E616*
1228+
*:browse* *:bro* *E338*
12281229
:bro[wse] {command} Open a file selection dialog for an argument to
12291230
{command}. At present this works for |:e|, |:w|,
12301231
|:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|,
@@ -1694,7 +1695,7 @@ session or with another command (e.g., a filter command). Then you will know
16941695
which version of the file you want to keep.
16951696

16961697
The accuracy of the time check depends on the filesystem. On Unix it is
1697-
usually sub-second. With old file sytems and on MS-Windows it is normally one
1698+
usually sub-second. With old file systems and on MS-Windows it is normally one
16981699
second. Use `has('nanotime')` to check if sub-second time stamp checks are
16991700
available.
17001701

0 commit comments

Comments
 (0)