diff --git a/doc/arabic.jax b/doc/arabic.jax index e07b65eae..f70ada074 100644 --- a/doc/arabic.jax +++ b/doc/arabic.jax @@ -1,4 +1,4 @@ -*arabic.txt* For Vim バージョン 8.0. Last change: 2010 Nov 13 +*arabic.txt* For Vim バージョン 8.1. Last change: 2010 Nov 13 VIMリファレンスマニュアル by Nadim Shaikli @@ -39,7 +39,7 @@ ISO-10646-1 フォントのサブセットです。 特徴 ----- -o left-to-right ファイルの編集はオリジナルの VIM と変わりません。 +o left-to-right ファイルの編集はオリジナルの Vim と変わりません。 o right-to-left ウィンドウでのファイルの表示と編集。表示方向はウィンドウ単位 なので、同じファイルを right-to-left と left-to-right で同時に表示できま @@ -49,7 +49,7 @@ o right-to-left のための特殊な端末を必要としない。 right-to-left の機能はハードウェアに依存していません。必要なのはアラビア語 フォントだけです。 -o オリジナルの VIM との互換性。ほとんどの機能は right-to-left モードでも機能 +o オリジナルの Vim との互換性。ほとんどの機能は right-to-left モードでも機能 します (バグになりやすい) o キーボードマッピングと反転挿入モード (reverse insert mode) を一つのコマンド @@ -62,14 +62,14 @@ o アラビア語モードでは数字は左から右へ入力されます。 o 反転挿入モードでのコマンドラインのアラビア語キーマッピング。 -o 正式な双方向機能は VIM を双方向対応端末エミュレータ上で実行すれば利用可能で +o 正式な双方向機能は Vim を双方向対応端末エミュレータ上で実行すれば利用可能で す。 アラビア語フォント *arabicfonts* ------------------ -VIM は固定幅フォントを使います。アラビア語には ISO-8859-6 と Presentation +Vim は固定幅フォントを使います。アラビア語には ISO-8859-6 と Presentation Form-B のフォントが必要です (Form-B 無しではアラビア語は使用できない)。フォン トを探す際にはいわゆる 'ISO-10646-1' フォントを探してください。インターネット を検索するか www.arabeyes.org を見て必要なアラビア語フォントを手に入れてくださ @@ -96,7 +96,7 @@ o X ウィンドウシステム (Unix/Linux) でのフォントのインスト o アラビア語フォントを設定する - + VIM GUI で 'guifont' をアラビア語フォントに設定します。VIM ウィンドウで + + Vim GUI で 'guifont' をアラビア語フォントに設定します。Vim ウィンドウで 次のように入力します。 > :set guifont=your_ARABIC_FONT @@ -108,7 +108,7 @@ o アラビア語フォントを設定する 'guifont' の設定を .vimrc ファイルに書くこともできます。言い換えると、 ':set guifont=your_ARABIC_FONT' を .vimrc ファイルに書くことができます。 - + X ウィンドウ環境では、'-fn your_ARABIC_FONT' を VIM の起動引数に指定する + + X ウィンドウ環境では、'-fn your_ARABIC_FONT' を Vim の起動引数に指定する 方法もあります。 o 適切なエンコーディングを設定する @@ -117,7 +117,7 @@ o 適切なエンコーディングを設定する > :set encoding=utf-8 < - (このコマンドを VIM ウィンドウで直接実行しないでください) + (このコマンドを Vim ウィンドウで直接実行しないでください) 簡単に言えば ':set encoding=utf-8' を .vimrc ファイルに書くだけです。 アラビア語を UTF-8 以外のエンコーディングで使用すると次の警告メッセージが表 @@ -128,12 +128,12 @@ o 適切なエンコーディングを設定する o アラビア語設定の有効化 [近道] - 手っ取り早く設定するには、コマンドラインから次のようにして VIM を起動する + 手っ取り早く設定するには、コマンドラインから次のようにして Vim を起動する か、 % vim -A my_utf8_arabic_file ... - または VIM の中で次のコマンドを実行して 'arabic' を有効にします + または Vim の中で次のコマンドを実行して 'arabic' を有効にします > :set arabic < @@ -175,7 +175,7 @@ o アラビア語設定の有効化 [近道] アラビア語キーマップを有効可するには (つまり English/Latin キーボードを 標準のアラビア語キーボードのようにするには)、'keymap' コマンドを - "arabic" に設定します。VIM ウィンドウで次のように入力します + "arabic" に設定します。Vim ウィンドウで次のように入力します > :set keymap=arabic < @@ -192,7 +192,7 @@ o アラビア語設定の有効化 [近道] 初期設定では 'delcombine' オプションは無効化されています。このオプション は LAM_ALEF (LAA) 合成文字内の ALEF を削除し、LAM だけを残すことを可能に します (つまり合成文字を解除して元の字形に戻す。これは harakat とその合 - 成字形にも関係する)。このオプションを有効化するには VIM ウィンドウで次の + 成字形にも関係する)。このオプションを有効化するには Vim ウィンドウで次の ように入力します > :set delcombine @@ -202,7 +202,7 @@ o アラビア語設定の有効化 [近道] + アラビア語 right-to-left モード - 初期設定では VIM は left-to-right モードで起動します。'rightleft' を設定 + 初期設定では Vim は left-to-right モードで起動します。'rightleft' を設定 することでウィンドウの方向を変更できます。使用方法は次のとおり。 - left-to-right モードと right-to-left モードの切り替えは ':set @@ -234,7 +234,7 @@ o アラビア語設定の有効化 [近道] アラビア語は視覚字形変更 (shaping(文字変形), composing(合成), combining(結合)) を必要としますが、それを有効にするには 'arabicshape' を - 設定します。VIM ウィンドウで次のコマンドを実行します。 + 設定します。Vim ウィンドウで次のコマンドを実行します。 > :set arabicshape < @@ -245,7 +245,7 @@ o アラビア語設定の有効化 [近道] Keymap/Keyboard *arabickeymap* --------------- -VIM で使用する文字エンコーディングは標準の UTF-8 です。 +Vim で使用する文字エンコーディングは標準の UTF-8 です。 他のエンコーディングの使用は推奨されていません。 Note: UTF-8 はあらゆるものを含むエンコーディングで、アラビア語において唯一サ @@ -277,7 +277,7 @@ o キーボード 制限 ----- -o VIM の GUI では Bi-directionality (双方向性) は正しくサポートされていません +o Vim の GUI では Bi-directionality (双方向性) は正しくサポートされていません (つまりアラビア語とラテン語を同じ行に書いたときに正しく表示されません)。 diff --git a/en/arabic.txt b/en/arabic.txt index 42fd878b5..0572b85f8 100644 --- a/en/arabic.txt +++ b/en/arabic.txt @@ -1,4 +1,4 @@ -*arabic.txt* For Vim version 8.0. Last change: 2010 Nov 13 +*arabic.txt* For Vim version 8.1. Last change: 2010 Nov 13 VIM REFERENCE MANUAL by Nadim Shaikli @@ -10,11 +10,11 @@ Arabic Language support (options & mappings) for Vim *Arabic* *E800* In order to use right-to-left and Arabic mapping support, it is -necessary to compile VIM with the |+arabic| feature. +necessary to compile Vim with the |+arabic| feature. These functions have been created by Nadim Shaikli -It is best to view this file with these settings within VIM's GUI: > +It is best to view this file with these settings within Vim's GUI: > :set encoding=utf-8 :set arabicshape @@ -42,7 +42,7 @@ the user interface remains the standard Vi interface. Highlights ---------- -o Editing left-to-right files as in the original VIM hasn't changed. +o Editing left-to-right files as in the original Vim hasn't changed. o Viewing and editing files in right-to-left windows. File orientation is per window, so it is possible to view the same @@ -52,7 +52,7 @@ o No special terminal with right-to-left capabilities is required. The right-to-left changes are completely hardware independent. Only Arabic fonts are necessary. -o Compatible with the original VIM. Almost all features work in +o Compatible with the original Vim. Almost all features work in right-to-left mode (there are liable to be bugs). o Changing keyboard mapping and reverse insert modes using a single @@ -66,14 +66,14 @@ o While in Arabic mode, numbers are entered from left to right. Upon o Arabic keymapping on the command line in reverse insert mode. -o Proper Bidirectional functionality is possible given VIM is +o Proper Bidirectional functionality is possible given Vim is started within a Bidi capable terminal emulator. Arabic Fonts *arabicfonts* ------------ -VIM requires monospaced fonts of which there are many out there. +Vim requires monospaced fonts of which there are many out there. Arabic requires ISO-8859-6 as well as Presentation Form-B fonts (without Form-B, Arabic will _NOT_ be usable). It is highly recommended that users search for so-called 'ISO-10646-1' fonts. @@ -96,13 +96,13 @@ o Installation of fonts for X Window systems (Unix/Linux) Usage ----- -Prior to the actual usage of Arabic within VIM, a number of settings +Prior to the actual usage of Arabic within Vim, a number of settings need to be accounted for and invoked. o Setting the Arabic fonts - + For VIM GUI set the 'guifont' to your_ARABIC_FONT. This is done - by entering the following command in the VIM window. + + For Vim GUI set the 'guifont' to your_ARABIC_FONT. This is done + by entering the following command in the Vim window. > :set guifont=your_ARABIC_FONT < @@ -115,7 +115,7 @@ o Setting the Arabic fonts you can include ':set guifont=your_ARABIC_FONT' to your .vimrc file. - + Under the X Window environment, you can also start VIM with + + Under the X Window environment, you can also start Vim with '-fn your_ARABIC_FONT' option. o Setting the appropriate character Encoding @@ -124,7 +124,7 @@ o Setting the appropriate character Encoding > :set encoding=utf-8 < - to your .vimrc file (entering the command manually into you VIM + to your .vimrc file (entering the command manually into you Vim window is highly discouraged). In short, include ':set encoding=utf-8' to your .vimrc file. @@ -137,11 +137,11 @@ o Setting the appropriate character Encoding o Enable Arabic settings [short-cut] In order to simplify and streamline things, you can either invoke - VIM with the command-line option, + Vim with the command-line option, % vim -A my_utf8_arabic_file ... - or enable 'arabic' via the following command within VIM + or enable 'arabic' via the following command within Vim > :set arabic < @@ -189,7 +189,7 @@ o Enable Arabic settings [short-cut] > :set keymap=arabic < - in your VIM window. You can also append the 'keymap' set command to + in your Vim window. You can also append the 'keymap' set command to your .vimrc file. In other words, you can include ':set keymap=arabic' to your .vimrc file. @@ -202,7 +202,7 @@ o Enable Arabic settings [short-cut] + Arabic deletion of a combined pair character - By default VIM has the 'delcombine' option disabled. This option + By default Vim has the 'delcombine' option disabled. This option allows the deletion of ALEF in a LAM_ALEF (LAA) combined character and still retain the LAM (i.e. it reverts to treating the combined character as its natural two characters form -- this also pertains @@ -211,13 +211,13 @@ o Enable Arabic settings [short-cut] > :set delcombine < - in our VIM window. You can also append the 'delcombine' set command + in our Vim window. You can also append the 'delcombine' set command to your .vimrc file. In other words, you can include ':set delcombine' to your .vimrc file. + Arabic right-to-left Mode - By default VIM starts in Left-to-right mode. 'rightleft' is the + By default Vim starts in Left-to-right mode. 'rightleft' is the command that allows one to alter a window's orientation - that can be accomplished via, @@ -253,7 +253,7 @@ o Enable Arabic settings [short-cut] > :set arabicshape < - in our VIM window. You can also append the 'arabicshape' set + in our Vim window. You can also append the 'arabicshape' set command to your .vimrc file. In other words, you can include ':set arabicshape' to your .vimrc file. @@ -261,7 +261,7 @@ o Enable Arabic settings [short-cut] Keymap/Keyboard *arabickeymap* --------------- -The character/letter encoding used in VIM is the standard UTF-8. +The character/letter encoding used in Vim is the standard UTF-8. It is widely discouraged that any other encoding be used or even attempted. @@ -294,7 +294,7 @@ o Keyboard Restrictions ------------ -o VIM in its GUI form does not currently support Bi-directionality +o Vim in its GUI form does not currently support Bi-directionality (i.e. the ability to see both Arabic and Latin intermixed within the same line).