Skip to content

Commit 48e4398

Browse files
authored
Merge pull request #323 from vim-jp/misc_update_hh2
Update several documents
2 parents 5028050 + 938d81d commit 48e4398

18 files changed

+84
-72
lines changed

doc/tips.jax

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -412,18 +412,17 @@ NOTE: これを利用するには 'cpoptions' から '<' フラグを外して
412412
==============================================================================
413413
ウィンドウでシェルコマンドを実行する *shell-window*
414414

415-
Vim の中のウィンドウでシェルを起動できるかという質問がいままでに何度かありまし
416-
た。答えは、できないです。もしこれを実装しようとすればかなり多くのコードを加え
417-
なければなりません、これが実装しない理由です。つまるところ、Vim はエディタなの
418-
です、エディタとしてではない作業を実行するようには考えられていません。しかしな
419-
がら、同じようなことを実行するには "splitvt" プログラムを使って端末のスクリー
420-
ンもしくはウィンドウの表示を分割することができます。このプログラムはたぶんどこ
421-
かの ftp サーバーで見つけることができると思います。このプログラムに詳しいのは
422-
Sam Lantinga <[email protected]> です。もう一つの方法は "window" コマンド
423-
を利用する方法で、このコマンドは BSD Unix システムにあります。このコマンドは複
424-
数のウィンドウをオーバーラップさせることができます。それか "screen" プログラム
425-
を使うかです。これは www.uni-erlangen.de で見つけることができ、このプログラム
426-
でウィンドウの積み重ねをすることができます。
415+
|terminal| を参照してください。
416+
417+
別の解決策は、端末の画面またはディスプレイウィンドウを "splitvt" プログラムで
418+
分割することです。
419+
このプログラムはたぶんどこかの ftp サーバーで見つけることができると思います。
420+
このプログラムに詳しいのは Sam Lantinga <[email protected]> です。
421+
422+
他の方法は "window" コマンドを利用する方法で、このコマンドは BSD Unix システ
423+
ムにあります。このコマンドは複数のウィンドウをオーバーラップさせることができま
424+
す。それか "screen" プログラムを使うかです。これは www.uni-erlangen.de で見つ
425+
けることができ、このプログラムでウィンドウの積み重ねをすることができます。
427426

428427
==============================================================================
429428
バイナリ編集 *hex-editing* *using-xxd*

doc/usr_05.jax

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,10 @@ Vim を起動すると、自動的にいくつものグローバルプラグイ
350350
------------------------------
351351

352352
プラグインはどこにありますか?
353-
- Vim の配布物にいくつか含まれています。$VIMRUNTIME/macros ディレクトリをご覧
354-
ください
353+
- いくつかは常に読み込まれます。それらは $VIMRUNTIME/plugin ディレクトリの中で
354+
見ることができます。
355+
- Vim の配布物にいくつか含まれています。$VIMRUNTIME/macros ディレクトリおよび
356+
そのサブディレクトリおよび $VIM/vimfiles/pack/dist/opt/ 以下をご覧ください。
355357
- インターネットからダウンロードする。たくさんのプラグインが
356358
http://www.vim.org にあります。
357359
- Vim のメーリングリスト|maillist|に投稿されることもあります。

doc/usr_09.jax

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
GUI を使う
66

77

8-
Vim は普通の端末で動作します。gvim はそれより少しだけ多機能です。GUI ではメ
9-
ニュー、ツールバー、スクロールバーなどが利用できます。本章では GUI が提供する
10-
それらの機能を説明します。
8+
Vimは通常の端末で動作しますが、gVimはグラフィカルユーザーインターフェイス (GUI)
9+
を持っています。それはVimと同じこととさらにいくつかのことができます。GUIは、メ
10+
ニュー、ツールバー、スクロールバー、およびその他のアイテムを提供します。この章
11+
では、GUIが提供するこれらの機能について説明します。
1112

1213
|09.1| GUI の部品
1314
|09.2| マウスを使う

doc/usr_11.jax

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ Vim には、うっかりミスを防止するための仕組みがあります
298298

299299
暗号化時のスワップファイルの扱いについては |:recover-crypt| を参照してくださ
300300
い。
301+
スワップファイルへのプログラムによるアクセスについては |swapinfo()| を参照して
302+
ください。
301303

302304
==============================================================================
303305
*11.4* さらなる情報

doc/usr_41.jax

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,7 @@ substitute() コマンドの前後にいろいろな処理を入れたりする
786786
getwininfo() ウィンドウの情報一覧を得る
787787
getchangelist() 変更リストのエントリ一覧を得る
788788
getjumplist() ジャンプリストのエントリ一覧を得る
789+
swapinfo() スワップファイルの情報を得る
789790

790791
コマンドライン: *command-line-functions*
791792
getcmdline() 現在のコマンドラインを取得

doc/usr_42.jax

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ Vim のメニューは "$VIMRUNTIME/menu.vim" で定義されています。自
154154
:menu! 挿入モード、コマンドライン
155155
:imenu 挿入モード
156156
:cmenu コマンドラインモード
157-
:amenu すべてのモード
157+
:tlmenu 端末モード
158+
:amenu すべてのモード (端末モードを除く)
158159

159160
メニュー項目が再マップされないようにするには、":noremenu"、":nnoremenu"、
160161
":anoremenu" などを使います。

doc/various.jax

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,14 +454,15 @@ N *+timers* |timer_start()| 関数
454454
N *+title* ウィンドウタイトルとアイコン設定 |'title'| |'icon'|
455455
N *+toolbar* |gui-toolbar|
456456
N *+user_commands* ユーザー定義コマンド |user-commands|
457+
B *+vartabs* 可変幅のタブストップ |'vartabstop'|
457458
N *+viminfo* |'viminfo'|
458459
*+vertsplit* ウィンドウの垂直分割 |:vsplit|; 8.0.1118 からは常に
459460
有効。
460461
|+windows| 機能と同調。
461462
N *+virtualedit* |'virtualedit'|
462463
S *+visual* ビジュアルモード |Visual-mode| 7.4.200からは常に有効
463464
N *+visualextra* 拡張ビジュアルモードコマンド |blockwise-operators|
464-
N *+vreplace* |gR||gr|
465+
T *+vreplace* |gR||gr|
465466
*+vtp* MS-Windows コンソール上での 'termguicolors' のサポート
466467
N *+wildignore* |'wildignore'|
467468
N *+wildmenu* |'wildmenu'|

doc/version8.jax

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16119,7 +16119,7 @@ Files: src/edit.c, src/testdir/test_popup.vim
1611916119

1612016120
Patch 8.0.0248
1612116121
Problem: vim_strcat() cannot handle overlapping arguments.
16122-
Solution: Use mch_memmove() instead of strcpy(). (Justin M Keyes,
16122+
Solution: Use mch_memmove() instead of strcpy(). (Justin M. Keyes,
1612316123
closes #1415)
1612416124
Files: src/misc2.c
1612516125

@@ -16369,7 +16369,7 @@ Files: src/screen.c
1636916369
Patch 8.0.0287
1637016370
Problem: Cannot access the arguments of the current function in debug mode.
1637116371
(Luc Hermitte)
16372-
Solution: use get_funccal(). (Lemonboy, closes #1432, closes #1352)
16372+
Solution: use get_funccal(). (LemonBoy, closes #1432, closes #1352)
1637316373
Files: src/userfunc.c
1637416374

1637516375
Patch 8.0.0288 (after 8.0.0284)
@@ -16734,7 +16734,7 @@ Files: src/gui_gtk_x11.c
1673416734

1673516735
Patch 8.0.0350
1673616736
Problem: Not enough test coverage for Perl.
16737-
Solution: Add more Perl tests. (Dominique Perl, closes #1500)
16737+
Solution: Add more Perl tests. (Dominique Pelle, closes #1500)
1673816738
Files: src/testdir/test_perl.vim
1673916739

1674016740
Patch 8.0.0351
@@ -18235,7 +18235,7 @@ Files: src/edit.c, src/testdir/test_popup.vim
1823518235

1823618236
Patch 8.0.0597
1823718237
Problem: Off-by-one error in buffer size computation.
18238-
Solution: Use ">=" instead of ">". (Lemonboy, closes #1694)
18238+
Solution: Use ">=" instead of ">". (LemonBoy, closes #1694)
1823918239
Files: src/quickfix.c
1824018240

1824118241
Patch 8.0.0598
@@ -18352,7 +18352,7 @@ Patch 8.0.0616
1835218352
Problem: When setting the cterm background with ":hi Normal" the value of
1835318353
'background' may be set wrongly.
1835418354
Solution: Check that the color is less than 16. Don't set 'background' when
18355-
it was set explicitly. (Lemonboy, closes #1710)
18355+
it was set explicitly. (LemonBoy, closes #1710)
1835618356
Files: src/syntax.c, src/testdir/test_syntax.vim
1835718357

1835818358
Patch 8.0.0617 (after 8.0.0615)
@@ -18483,8 +18483,8 @@ Files: src/gui_gtk.c
1848318483

1848418484
Patch 8.0.0638
1848518485
Problem: Cannot build with new MSVC version VS2017.
18486-
Solution: Change the compiler arguments. (Leonardo Manera, closes #1731,
18487-
closes #1747)
18486+
Solution: Change the compiler arguments. (Leonardo Valeri Manera,
18487+
closes #1731, closes #1747)
1848818488
Files: src/GvimExt/Makefile, src/Make_mvc.mak
1848918489

1849018490
Patch 8.0.0639
@@ -19076,7 +19076,7 @@ Files: src/testdir/test_arglist.vim
1907619076

1907719077
Patch 8.0.0724
1907819078
Problem: The message for yanking doesn't indicate the register.
19079-
Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
19079+
Solution: Show the register name in the "N lines yanked" message. (LemonBoy,
1908019080
closes #1803, closes #1809)
1908119081
Files: src/ops.c, src/Makefile, src/testdir/test_registers.vim,
1908219082
src/testdir/Make_all.mak
@@ -21617,7 +21617,7 @@ Files: src/configure.ac, src/auto/configure
2161721617

2161821618
Patch 8.0.1157
2161921619
Problem: Compiler warning on MS-Windows.
21620-
Solution: Add type cast. (Yasuhiro Matsomoto)
21620+
Solution: Add type cast. (Yasuhiro Matsumoto)
2162121621
Files: src/main.c
2162221622

2162321623
Patch 8.0.1158
@@ -21917,7 +21917,7 @@ Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, src/vim.h,
2191721917

2191821918
Patch 8.0.1207
2191921919
Problem: Profiling skips the first and last script line.
21920-
Solution: Check for BOM after setting script ID. (Lemonboy, closes #2103,
21920+
Solution: Check for BOM after setting script ID. (LemonBoy, closes #2103,
2192121921
closes #2112) Add a test. List the trailing script lines.
2192221922
Files: src/testdir/test_profile.vim, src/ex_cmds2.c
2192321923

@@ -22114,7 +22114,7 @@ Problem: Mac features are confusing.
2211422114
Solution: Make feature names more consistent, add "osxdarwin". Rename
2211522115
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2211622116
Also includes a fix for when Ruby throws an exception inside
22117-
:rubyfile.(ujihisa)
22117+
:rubyfile. (ujihisa)
2211822118
Files: runtime/doc/eval.txt, runtime/doc/os_mac.txt, src/auto/configure,
2211922119
src/config.h.in, src/configure.ac, src/digraph.c, src/edit.c,
2212022120
src/evalfunc.c, src/feature.h, src/fileio.c, src/getchar.c,
@@ -23262,7 +23262,7 @@ Files: src/screen.c
2326223262

2326323263
Patch 8.0.1423
2326423264
Problem: Error in return not caught by try/catch.
23265-
Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483)
23265+
Solution: Call update_force_abort(). (Yasuhiro Matsumoto, closes #2483)
2326623266
Files: src/testdir/test_eval.in, src/testdir/test_eval_stuff.vim,
2326723267
src/Makefile, src/testdir/Make_all.mak, src/userfunc.c
2326823268

@@ -23293,7 +23293,7 @@ Files: src/ex_getln.c
2329323293

2329423294
Patch 8.0.1429
2329523295
Problem: Crash when calling term_start() with empty argument.
23296-
Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
23296+
Solution: Check for invalid argument. (Yasuhiro Matsumoto, closes #2503)
2329723297
Fix memory leak.
2329823298
Files: src/terminal.c, src/testdir/test_terminal.vim
2329923299

@@ -23683,7 +23683,7 @@ Files: src/misc2.c, src/evalfunc.c
2368323683
Patch 8.0.1493
2368423684
Problem: Completion items cannot be annotated.
2368523685
Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
23686-
coses #2608, closes #2508)
23686+
closes #2608, closes #2508)
2368723687
Files: runtime/doc/insert.txt, src/edit.c, src/structs.h,
2368823688
src/testdir/test_ins_complete.vim
2368923689

@@ -24193,8 +24193,8 @@ Files: src/os_unix.c
2419324193

2419424194
Patch 8.0.1573
2419524195
Problem: getwinpos(1) may cause response to be handled as command.
24196-
Solution: Handle any cursor position report once one was request. (partly by
24197-
Hirohito Higashi)
24196+
Solution: Handle any cursor position report once one was requested. (partly
24197+
by Hirohito Higashi)
2419824198
Files: src/term.c
2419924199

2420024200
Patch 8.0.1574
@@ -24675,7 +24675,7 @@ Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
2467524675

2467624676
Patch 8.0.1656
2467724677
Problem: No option to have xxd produce upper case variable names.
24678-
Solution: Add the -C argument. (Matt Panaro closes #2772)
24678+
Solution: Add the -C argument. (Matt Panaro, closes #2772)
2467924679
Files: src/xxd/xxd.c
2468024680

2468124681
Patch 8.0.1657
@@ -25408,7 +25408,7 @@ Files: src/testdir/test_quickfix.vim, src/fileio.c, src/proto/fileio.pro,
2540825408
Patch 8.0.1782
2540925409
Problem: No simple way to label quickfix entries.
2541025410
Solution: Add the "module" item, to be used instead of the file name for
25411-
display purposes. (Martin Szamotulski, closes #1757)
25411+
display purposes. (Marcin Szamotulski, closes #1757)
2541225412
Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/alloc.h,
2541325413
src/quickfix.c, src/testdir/test_quickfix.vim
2541425414

doc/windows.jax

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ CTRL-W ^ ":split #" と同じ。つまり、ウィンドウを2つに分割し
236236
同じ。つまり、ウィンドウを分割してバッファNを編集する。
237237

238238
*CTRL-W_:*
239-
CTRL-W : |:| と同じ。: コマンドラインを編集する
240-
すべてのVimコマンドが CTRL-W または 'termkey' から始められなけ
241-
ればならない端末ウィンドウの中で役に立つ
239+
CTRL-W : |:| と同じ。コマンドラインを入力する
240+
すべてのVimコマンドが CTRL-W または 'wintermkey' から始められ
241+
なければならない端末ウィンドウの中で役に立つ
242242

243243
オプション 'splitbelow''splitright' が新しいウィンドウが現れる場所に影響を
244244
及ぼすことに注意。

en/tips.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -408,14 +408,13 @@ when they are not in the same location as the compressed "doc" directory. See
408408
==============================================================================
409409
Executing shell commands in a window *shell-window*
410410

411-
There have been questions for the possibility to execute a shell in a window
412-
inside Vim. The answer: you can't! Including this would add a lot of code to
413-
Vim, which is a good reason not to do this. After all, Vim is an editor, it
414-
is not supposed to do non-editing tasks. However, to get something like this,
415-
you might try splitting your terminal screen or display window with the
411+
See |terminal|.
412+
413+
Another solution is splitting your terminal screen or display window with the
416414
"splitvt" program. You can probably find it on some ftp server. The person
417415
that knows more about this is Sam Lantinga <[email protected]>.
418-
An alternative is the "window" command, found on BSD Unix systems, which
416+
417+
Another alternative is the "window" command, found on BSD Unix systems, which
419418
supports multiple overlapped windows. Or the "screen" program, found at
420419
www.uni-erlangen.de, which supports a stack of windows.
421420

0 commit comments

Comments
 (0)