From 92fca4c741282abf62d9424e20dcaff362c76782 Mon Sep 17 00:00:00 2001 From: higashi000 Date: Wed, 8 Jan 2020 12:40:12 +0900 Subject: [PATCH 1/2] Update vi_diff.{jax,txt} --- doc/vi_diff.jax | 28 ++++++++++++---------------- en/vi_diff.txt | 23 +++++++++-------------- 2 files changed, 21 insertions(+), 30 deletions(-) diff --git a/doc/vi_diff.jax b/doc/vi_diff.jax index 18b69647c..6a2987afb 100644 --- a/doc/vi_diff.jax +++ b/doc/vi_diff.jax @@ -1,4 +1,4 @@ -*vi_diff.txt* For Vim バージョン 8.1. Last change: 2019 Nov 12 +*vi_diff.txt* For Vim バージョン 8.2. Last change: 2019 Dec 17 VIMリファレンスマニュアル by Bram Moolenaar @@ -43,7 +43,7 @@ Vimにオープンモードはありません。まったく便利ではない これらのオプションは Vi にはあって、Vim にはないものです。これらのオプションを セットしてもエラーメッセージは出ませんが、設定した値は使われませんし表示もされ -ません。 +ません。 autoprint (ap) 二者択一 (初期値 オン) *'autoprint'* *'ap'* beautify (bf) 二者択一 (初期値 オフ) *'beautify'* *'bf'* @@ -73,9 +73,7 @@ Vim で編集できるファイルの制限はかなり少ないです。 {Vi: < があります。} *E340* -行の最大の長さ 16ビット int を使っているマシン(Amiga と MS-DOS の - リアルモード)は 32767 文字、それ以外は 2147483647 - 文字。それより長い行は分割されます。 +行の最大の長さ 2147483647 文字。それより長い行は分割されます。 最大行数 2147483647 行 最大のファイルのサイズ long integer が32ビットである場合2147483647バイト(2 ギガバイト)です。64ビットの長さであればもっと多くな @@ -105,8 +103,8 @@ Vim で編集できるファイルの制限はかなり少ないです。 {Vi: < 'maxmem' ('mm') オプションは一つのバッファに使われるメモリの最大の量 (キロバイ トで) を決めるのに使います。'maxmemtot' はすべてのバッファで使われるメモリの最 -大の量(キロバイトで)を決めるのに使います。Amiga と MS-DOS では 'maxmemtot' は -使えるメモリの量に依存して設定されます。 +大の量(キロバイトで)を決めるのに使います。Amiga では 'maxmemtot' は 使えるメモ +リの量に依存して設定されます。 これらは厳格な制限ではなく、いつテキストをスワップファイルに移動するかの目安で す。もし Vim がファイルにスワップを行うのが嫌であれば 'maxmem' と 'maxmemtot' の値をかなり大きい値に設定しておきます。そうするとスワップファイルはリカバリー @@ -140,15 +138,14 @@ Vi との互換性 |'compatible'| - プロテクトモードの Windows 3.1 と MS-DOS (DPMI ドライバが必要です) - Windows 95 と Windows NT、ロングファイル名をサポート - OS/2 (emx.dll が必要です) - - Atari MiNT - VMS - BeOS - Macintosh - Risc OS - IBM OS/390 Note: いくつかのシステムではリソース使用量を削減するために機能を無効に - する必要があります(特にMS-DOS)。いくつかの時代後れのシステムでは以前の - バージョンのVimを使わねばなりません。 + する必要があります。いくつかの時代後れのシステムでは以前のバージョン + のVimを使わねばなりません。 多段永続化アンドゥ |undo| 'u' は時をさかのぼり、'CTRL-R' は再び進めます。変更を覚えておく回数を @@ -466,9 +463,9 @@ Viminfo |viminfo-file| マウスサポート |mouse-using| マウスは GUI バージョンと Unix、sysmouse がある BSD、gpm がある Linux、 - MS-DOS、Win32 上の xterm でサポートされています。カーソルの場所を変え - たりビジュアル領域を選択したりレジスタの内容を貼り付けたりするのに使う - ことができます。 + Win32 上の xterm でサポートされています。カーソルの場所を変えたりビ + ジュアル領域を選択したりレジスタの内容を貼り付けたりするのに使うこと + ができます。 キーの名前の使い方 |<>| |key-notation| 特殊なキーはすべて などなどのような書き方ができるようにな @@ -797,9 +794,8 @@ Vim が DIGRAPHS を定義してコンパイルされていればダイグラフ で起動します。 キーを押すと元に戻ります。 アンドゥの情報はメモリに保持されます。使用可能なメモリの量でアンドゥの回数とア -ンドゥ可能なサイズが制限されます。このことは MS-DOS では問題になるかもしれませ -ん。Amiga ではほとんど問題にならないですし、Unix と Win32 では大体において決し -て問題になることはないです。 +ンドゥ可能なサイズが制限されます。このことは Amiga ではほとんど問題にならない +ですし、Unix と Win32 では大体において決して問題になることはないです。 'backup' か 'writebackup' オプションがセットされていると: ファイルを上書きする 前にバックアップファイル(.bak)が作られます。"backup" オプションがセットされて diff --git a/en/vi_diff.txt b/en/vi_diff.txt index f762e8af1..f8949f6fa 100644 --- a/en/vi_diff.txt +++ b/en/vi_diff.txt @@ -1,4 +1,4 @@ -*vi_diff.txt* For Vim version 8.1. Last change: 2019 Nov 12 +*vi_diff.txt* For Vim version 8.2. Last change: 2019 Dec 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -74,9 +74,7 @@ Vim has only a few limits for the files that can be edited {Vi: can not handle characters and characters above 128, has limited line length, many other limits}. *E340* -Maximum line length On machines with 16-bit ints (Amiga and MS-DOS real - mode): 32767, otherwise 2147483647 characters. - Longer lines are split. +Maximum line length 2147483647 characters. Longer lines are split. Maximum number of lines 2147483647 lines. Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is 32 bits. Much more for 64 bit longs. Also limited @@ -106,8 +104,7 @@ Memory usage limits The option 'maxmem' ('mm') is used to set the maximum memory used for one buffer (in kilobytes). 'maxmemtot' is used to set the maximum memory used for all buffers (in kilobytes). The defaults depend on the system used. For the -Amiga and MS-DOS, 'maxmemtot' is set depending on the amount of memory -available. +Amiga, 'maxmemtot' is set depending on the amount of memory available. These are not hard limits, but tell Vim when to move text into a swap file. If you don't like Vim to swap to a file, set 'maxmem' and 'maxmemtot' to a very large value. The swap file will then only be used for recovery. If you @@ -140,15 +137,14 @@ Support for different systems. - In protected mode on Windows 3.1 and MS-DOS (DPMI driver required). - Windows 95 and Windows NT, with support for long file names. - OS/2 (needs emx.dll) - - Atari MiNT - VMS - BeOS - Macintosh - Risc OS - IBM OS/390 Note that on some systems features need to be disabled to reduce - resource usage, esp. on MS-DOS. For some outdated systems you need to - use an older Vim version. + resource usage. For some outdated systems you need to use an older + Vim version. Multi level persistent undo. |undo| 'u' goes backward in time, 'CTRL-R' goes forward again. Set option @@ -460,9 +456,8 @@ Printing. |printing| Mouse support. |mouse-using| The mouse is supported in the GUI version, in an xterm for Unix, for - BSDs with sysmouse, for Linux with gpm, for MS-DOS, and Win32. It - can be used to position the cursor, select the visual area, paste a - register, etc. + BSDs with sysmouse, for Linux with gpm, and Win32. It can be used to + position the cursor, select the visual area, paste a register, etc. Usage of key names. |<>| |key-notation| Special keys now all have a name like , , etc. @@ -782,8 +777,8 @@ If the 'insertmode' option is set (e.g. in .exrc), Vim starts in insert mode. And it comes back there, when pressing . Undo information is kept in memory. Available memory limits the number and -size of change that can be undone. This may be a problem with MS-DOS, is -hardly a problem on the Amiga and almost never with Unix and Win32. +size of change that can be undone. This is hardly a problem on the Amiga and +almost never with Unix and Win32. If the 'backup' or 'writebackup' option is set: Before a file is overwritten, a backup file (.bak) is made. If the "backup" option is set it is left From 10f3778e4da2c022b71e4f886a0d9d1d98aa7fca Mon Sep 17 00:00:00 2001 From: higashi000 Date: Wed, 8 Jan 2020 16:15:55 +0900 Subject: [PATCH 2/2] Fix enter pos and Delete space --- doc/vi_diff.jax | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/vi_diff.jax b/doc/vi_diff.jax index 6a2987afb..e30425733 100644 --- a/doc/vi_diff.jax +++ b/doc/vi_diff.jax @@ -103,7 +103,7 @@ Vim で編集できるファイルの制限はかなり少ないです。 {Vi: < 'maxmem' ('mm') オプションは一つのバッファに使われるメモリの最大の量 (キロバイ トで) を決めるのに使います。'maxmemtot' はすべてのバッファで使われるメモリの最 -大の量(キロバイトで)を決めるのに使います。Amiga では 'maxmemtot' は 使えるメモ +大の量(キロバイトで)を決めるのに使います。Amiga では 'maxmemtot' は使えるメモ リの量に依存して設定されます。 これらは厳格な制限ではなく、いつテキストをスワップファイルに移動するかの目安で す。もし Vim がファイルにスワップを行うのが嫌であれば 'maxmem' と 'maxmemtot' @@ -144,8 +144,8 @@ Vi との互換性 |'compatible'| - Risc OS - IBM OS/390 Note: いくつかのシステムではリソース使用量を削減するために機能を無効に - する必要があります。いくつかの時代後れのシステムでは以前のバージョン - のVimを使わねばなりません。 + する必要があります。いくつかの時代後れのシステムでは以前のバージョンの + Vimを使わねばなりません。 多段永続化アンドゥ |undo| 'u' は時をさかのぼり、'CTRL-R' は再び進めます。変更を覚えておく回数を @@ -463,9 +463,9 @@ Viminfo |viminfo-file| マウスサポート |mouse-using| マウスは GUI バージョンと Unix、sysmouse がある BSD、gpm がある Linux、 - Win32 上の xterm でサポートされています。カーソルの場所を変えたりビ - ジュアル領域を選択したりレジスタの内容を貼り付けたりするのに使うこと - ができます。 + Win32 上の xterm でサポートされています。カーソルの場所を変えたりビジュ + アル領域を選択したりレジスタの内容を貼り付けたりするのに使うことができ + ます。 キーの名前の使い方 |<>| |key-notation| 特殊なキーはすべて などなどのような書き方ができるようにな