Skip to content

Commit 0c3e27b

Browse files
authoredJun 8, 2018
Merge pull request #218 from mnishz/arabic_for_Vim_8.1
Update arabic from Vim 8.0 to 8.1
2 parents 3e851a0 + 7abc6d1 commit 0c3e27b

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed
 

‎doc/arabic.jax

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*arabic.txt* For Vim バージョン 8.0. Last change: 2010 Nov 13
1+
*arabic.txt* For Vim バージョン 8.1. Last change: 2010 Nov 13
22

33

44
VIMリファレンスマニュアル by Nadim Shaikli
@@ -39,7 +39,7 @@ ISO-10646-1 フォントのサブセットです。
3939

4040
特徴
4141
-----
42-
o left-to-right ファイルの編集はオリジナルの VIM と変わりません。
42+
o left-to-right ファイルの編集はオリジナルの Vim と変わりません。
4343

4444
o right-to-left ウィンドウでのファイルの表示と編集。表示方向はウィンドウ単位
4545
なので、同じファイルを right-to-left と left-to-right で同時に表示できま
@@ -49,7 +49,7 @@ o right-to-left のための特殊な端末を必要としない。
4949
right-to-left の機能はハードウェアに依存していません。必要なのはアラビア語
5050
フォントだけです。
5151

52-
o オリジナルの VIM との互換性。ほとんどの機能は right-to-left モードでも機能
52+
o オリジナルの Vim との互換性。ほとんどの機能は right-to-left モードでも機能
5353
します (バグになりやすい)
5454

5555
o キーボードマッピングと反転挿入モード (reverse insert mode) を一つのコマンド
@@ -62,14 +62,14 @@ o アラビア語モードでは数字は左から右へ入力されます。
6262

6363
o 反転挿入モードでのコマンドラインのアラビア語キーマッピング。
6464

65-
o 正式な双方向機能は VIM を双方向対応端末エミュレータ上で実行すれば利用可能で
65+
o 正式な双方向機能は Vim を双方向対応端末エミュレータ上で実行すれば利用可能で
6666
す。
6767

6868

6969
アラビア語フォント *arabicfonts*
7070
------------------
7171

72-
VIM は固定幅フォントを使います。アラビア語には ISO-8859-6 と Presentation
72+
Vim は固定幅フォントを使います。アラビア語には ISO-8859-6 と Presentation
7373
Form-B のフォントが必要です (Form-B 無しではアラビア語は使用できない)。フォン
7474
トを探す際にはいわゆる 'ISO-10646-1' フォントを探してください。インターネット
7575
を検索するか www.arabeyes.org を見て必要なアラビア語フォントを手に入れてくださ
@@ -96,7 +96,7 @@ o X ウィンドウシステム (Unix/Linux) でのフォントのインスト
9696

9797
o アラビア語フォントを設定する
9898

99-
+ VIM GUI で 'guifont' をアラビア語フォントに設定します。VIM ウィンドウで
99+
+ Vim GUI で 'guifont' をアラビア語フォントに設定します。Vim ウィンドウで
100100
次のように入力します。
101101
>
102102
:set guifont=your_ARABIC_FONT
@@ -108,7 +108,7 @@ o アラビア語フォントを設定する
108108
'guifont' の設定を .vimrc ファイルに書くこともできます。言い換えると、
109109
':set guifont=your_ARABIC_FONT' を .vimrc ファイルに書くことができます。
110110

111-
+ X ウィンドウ環境では、'-fn your_ARABIC_FONT' を VIM の起動引数に指定する
111+
+ X ウィンドウ環境では、'-fn your_ARABIC_FONT' を Vim の起動引数に指定する
112112
方法もあります。
113113

114114
o 適切なエンコーディングを設定する
@@ -117,7 +117,7 @@ o 適切なエンコーディングを設定する
117117
>
118118
:set encoding=utf-8
119119
<
120-
(このコマンドを VIM ウィンドウで直接実行しないでください)
120+
(このコマンドを Vim ウィンドウで直接実行しないでください)
121121
簡単に言えば ':set encoding=utf-8' を .vimrc ファイルに書くだけです。
122122

123123
アラビア語を UTF-8 以外のエンコーディングで使用すると次の警告メッセージが表
@@ -128,12 +128,12 @@ o 適切なエンコーディングを設定する
128128
129129
o アラビア語設定の有効化 [近道]
130130

131-
手っ取り早く設定するには、コマンドラインから次のようにして VIM を起動する
131+
手っ取り早く設定するには、コマンドラインから次のようにして Vim を起動する
132132
か、
133133

134134
% vim -A my_utf8_arabic_file ...
135135

136-
または VIM の中で次のコマンドを実行して 'arabic' を有効にします
136+
または Vim の中で次のコマンドを実行して 'arabic' を有効にします
137137
>
138138
:set arabic
139139
<
@@ -175,7 +175,7 @@ o アラビア語設定の有効化 [近道]
175175

176176
アラビア語キーマップを有効可するには (つまり English/Latin キーボードを
177177
標準のアラビア語キーボードのようにするには)、'keymap' コマンドを
178-
"arabic" に設定します。VIM ウィンドウで次のように入力します
178+
"arabic" に設定します。Vim ウィンドウで次のように入力します
179179
>
180180
:set keymap=arabic
181181
<
@@ -192,7 +192,7 @@ o アラビア語設定の有効化 [近道]
192192
初期設定では 'delcombine' オプションは無効化されています。このオプション
193193
は LAM_ALEF (LAA) 合成文字内の ALEF を削除し、LAM だけを残すことを可能に
194194
します (つまり合成文字を解除して元の字形に戻す。これは harakat とその合
195-
成字形にも関係する)。このオプションを有効化するには VIM ウィンドウで次の
195+
成字形にも関係する)。このオプションを有効化するには Vim ウィンドウで次の
196196
ように入力します
197197
>
198198
:set delcombine
@@ -202,7 +202,7 @@ o アラビア語設定の有効化 [近道]
202202

203203
+ アラビア語 right-to-left モード
204204

205-
初期設定では VIM は left-to-right モードで起動します。'rightleft' を設定
205+
初期設定では Vim は left-to-right モードで起動します。'rightleft' を設定
206206
することでウィンドウの方向を変更できます。使用方法は次のとおり。
207207

208208
- left-to-right モードと right-to-left モードの切り替えは ':set
@@ -234,7 +234,7 @@ o アラビア語設定の有効化 [近道]
234234

235235
アラビア語は視覚字形変更 (shaping(文字変形), composing(合成),
236236
combining(結合)) を必要としますが、それを有効にするには 'arabicshape'
237-
設定します。VIM ウィンドウで次のコマンドを実行します。
237+
設定します。Vim ウィンドウで次のコマンドを実行します。
238238
>
239239
:set arabicshape
240240
<
@@ -245,7 +245,7 @@ o アラビア語設定の有効化 [近道]
245245
Keymap/Keyboard *arabickeymap*
246246
---------------
247247

248-
VIM で使用する文字エンコーディングは標準の UTF-8 です。
248+
Vim で使用する文字エンコーディングは標準の UTF-8 です。
249249
他のエンコーディングの使用は推奨されていません。
250250

251251
Note: UTF-8 はあらゆるものを含むエンコーディングで、アラビア語において唯一サ
@@ -277,7 +277,7 @@ o キーボード
277277
制限
278278
-----
279279

280-
o VIM の GUI では Bi-directionality (双方向性) は正しくサポートされていません
280+
o Vim の GUI では Bi-directionality (双方向性) は正しくサポートされていません
281281
(つまりアラビア語とラテン語を同じ行に書いたときに正しく表示されません)。
282282

283283

‎en/arabic.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*arabic.txt* For Vim version 8.0. Last change: 2010 Nov 13
1+
*arabic.txt* For Vim version 8.1. Last change: 2010 Nov 13
22

33

44
VIM REFERENCE MANUAL by Nadim Shaikli
@@ -10,11 +10,11 @@ Arabic Language support (options & mappings) for Vim *Arabic*
1010

1111
*E800*
1212
In order to use right-to-left and Arabic mapping support, it is
13-
necessary to compile VIM with the |+arabic| feature.
13+
necessary to compile Vim with the |+arabic| feature.
1414

1515
These functions have been created by Nadim Shaikli <nadim-at-arabeyes.org>
1616

17-
It is best to view this file with these settings within VIM's GUI: >
17+
It is best to view this file with these settings within Vim's GUI: >
1818
1919
:set encoding=utf-8
2020
:set arabicshape
@@ -42,7 +42,7 @@ the user interface remains the standard Vi interface.
4242

4343
Highlights
4444
----------
45-
o Editing left-to-right files as in the original VIM hasn't changed.
45+
o Editing left-to-right files as in the original Vim hasn't changed.
4646

4747
o Viewing and editing files in right-to-left windows. File
4848
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.
5252
The right-to-left changes are completely hardware independent.
5353
Only Arabic fonts are necessary.
5454

55-
o Compatible with the original VIM. Almost all features work in
55+
o Compatible with the original Vim. Almost all features work in
5656
right-to-left mode (there are liable to be bugs).
5757

5858
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
6666

6767
o Arabic keymapping on the command line in reverse insert mode.
6868

69-
o Proper Bidirectional functionality is possible given VIM is
69+
o Proper Bidirectional functionality is possible given Vim is
7070
started within a Bidi capable terminal emulator.
7171

7272

7373
Arabic Fonts *arabicfonts*
7474
------------
7575

76-
VIM requires monospaced fonts of which there are many out there.
76+
Vim requires monospaced fonts of which there are many out there.
7777
Arabic requires ISO-8859-6 as well as Presentation Form-B fonts
7878
(without Form-B, Arabic will _NOT_ be usable). It is highly
7979
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)
9696

9797
Usage
9898
-----
99-
Prior to the actual usage of Arabic within VIM, a number of settings
99+
Prior to the actual usage of Arabic within Vim, a number of settings
100100
need to be accounted for and invoked.
101101

102102
o Setting the Arabic fonts
103103

104-
+ For VIM GUI set the 'guifont' to your_ARABIC_FONT. This is done
105-
by entering the following command in the VIM window.
104+
+ For Vim GUI set the 'guifont' to your_ARABIC_FONT. This is done
105+
by entering the following command in the Vim window.
106106
>
107107
:set guifont=your_ARABIC_FONT
108108
<
@@ -115,7 +115,7 @@ o Setting the Arabic fonts
115115
you can include ':set guifont=your_ARABIC_FONT' to your .vimrc
116116
file.
117117

118-
+ Under the X Window environment, you can also start VIM with
118+
+ Under the X Window environment, you can also start Vim with
119119
'-fn your_ARABIC_FONT' option.
120120

121121
o Setting the appropriate character Encoding
@@ -124,7 +124,7 @@ o Setting the appropriate character Encoding
124124
>
125125
:set encoding=utf-8
126126
<
127-
to your .vimrc file (entering the command manually into you VIM
127+
to your .vimrc file (entering the command manually into you Vim
128128
window is highly discouraged). In short, include ':set
129129
encoding=utf-8' to your .vimrc file.
130130

@@ -137,11 +137,11 @@ o Setting the appropriate character Encoding
137137
o Enable Arabic settings [short-cut]
138138

139139
In order to simplify and streamline things, you can either invoke
140-
VIM with the command-line option,
140+
Vim with the command-line option,
141141

142142
% vim -A my_utf8_arabic_file ...
143143

144-
or enable 'arabic' via the following command within VIM
144+
or enable 'arabic' via the following command within Vim
145145
>
146146
:set arabic
147147
<
@@ -189,7 +189,7 @@ o Enable Arabic settings [short-cut]
189189
>
190190
:set keymap=arabic
191191
<
192-
in your VIM window. You can also append the 'keymap' set command to
192+
in your Vim window. You can also append the 'keymap' set command to
193193
your .vimrc file. In other words, you can include ':set keymap=arabic'
194194
to your .vimrc file.
195195

@@ -202,7 +202,7 @@ o Enable Arabic settings [short-cut]
202202

203203
+ Arabic deletion of a combined pair character
204204

205-
By default VIM has the 'delcombine' option disabled. This option
205+
By default Vim has the 'delcombine' option disabled. This option
206206
allows the deletion of ALEF in a LAM_ALEF (LAA) combined character
207207
and still retain the LAM (i.e. it reverts to treating the combined
208208
character as its natural two characters form -- this also pertains
@@ -211,13 +211,13 @@ o Enable Arabic settings [short-cut]
211211
>
212212
:set delcombine
213213
<
214-
in our VIM window. You can also append the 'delcombine' set command
214+
in our Vim window. You can also append the 'delcombine' set command
215215
to your .vimrc file. In other words, you can include ':set delcombine'
216216
to your .vimrc file.
217217

218218
+ Arabic right-to-left Mode
219219

220-
By default VIM starts in Left-to-right mode. 'rightleft' is the
220+
By default Vim starts in Left-to-right mode. 'rightleft' is the
221221
command that allows one to alter a window's orientation - that can
222222
be accomplished via,
223223

@@ -253,15 +253,15 @@ o Enable Arabic settings [short-cut]
253253
>
254254
:set arabicshape
255255
<
256-
in our VIM window. You can also append the 'arabicshape' set
256+
in our Vim window. You can also append the 'arabicshape' set
257257
command to your .vimrc file. In other words, you can include
258258
':set arabicshape' to your .vimrc file.
259259

260260

261261
Keymap/Keyboard *arabickeymap*
262262
---------------
263263

264-
The character/letter encoding used in VIM is the standard UTF-8.
264+
The character/letter encoding used in Vim is the standard UTF-8.
265265
It is widely discouraged that any other encoding be used or even
266266
attempted.
267267

@@ -294,7 +294,7 @@ o Keyboard
294294
Restrictions
295295
------------
296296

297-
o VIM in its GUI form does not currently support Bi-directionality
297+
o Vim in its GUI form does not currently support Bi-directionality
298298
(i.e. the ability to see both Arabic and Latin intermixed within
299299
the same line).
300300

0 commit comments

Comments
 (0)
Please sign in to comment.