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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Nadim Shaikli
@@ -10,11 +10,11 @@ Arabic Language support (options & mappings) for Vim *Arabic*
10
10
11
11
*E800*
12
12
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.
14
14
15
15
These functions have been created by Nadim Shaikli <nadim-at-arabeyes.org>
16
16
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: >
18
18
19
19
:set encoding=utf-8
20
20
:set arabicshape
@@ -42,7 +42,7 @@ the user interface remains the standard Vi interface.
42
42
43
43
Highlights
44
44
----------
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.
46
46
47
47
o Viewing and editing files in right-to-left windows. File
48
48
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.
52
52
The right-to-left changes are completely hardware independent.
53
53
Only Arabic fonts are necessary.
54
54
55
- o Compatible with the original VIM . Almost all features work in
55
+ o Compatible with the original Vim . Almost all features work in
56
56
right-to-left mode (there are liable to be bugs).
57
57
58
58
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
66
66
67
67
o Arabic keymapping on the command line in reverse insert mode.
68
68
69
- o Proper Bidirectional functionality is possible given VIM is
69
+ o Proper Bidirectional functionality is possible given Vim is
70
70
started within a Bidi capable terminal emulator.
71
71
72
72
73
73
Arabic Fonts *arabicfonts*
74
74
------------
75
75
76
- VIM requires monospaced fonts of which there are many out there.
76
+ Vim requires monospaced fonts of which there are many out there.
77
77
Arabic requires ISO-8859-6 as well as Presentation Form-B fonts
78
78
(without Form-B, Arabic will _NOT_ be usable). It is highly
79
79
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)
96
96
97
97
Usage
98
98
-----
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
100
100
need to be accounted for and invoked.
101
101
102
102
o Setting the Arabic fonts
103
103
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.
106
106
>
107
107
:set guifont=your_ARABIC_FONT
108
108
<
@@ -115,7 +115,7 @@ o Setting the Arabic fonts
115
115
you can include ':set guifont=your_ARABIC_FONT' to your .vimrc
116
116
file.
117
117
118
- + Under the X Window environment, you can also start VIM with
118
+ + Under the X Window environment, you can also start Vim with
119
119
'-fn your_ARABIC_FONT' option.
120
120
121
121
o Setting the appropriate character Encoding
@@ -124,7 +124,7 @@ o Setting the appropriate character Encoding
124
124
>
125
125
:set encoding=utf-8
126
126
<
127
- to your .vimrc file (entering the command manually into you VIM
127
+ to your .vimrc file (entering the command manually into you Vim
128
128
window is highly discouraged). In short, include ':set
129
129
encoding=utf-8' to your .vimrc file.
130
130
@@ -137,11 +137,11 @@ o Setting the appropriate character Encoding
137
137
o Enable Arabic settings [short-cut]
138
138
139
139
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,
141
141
142
142
% vim -A my_utf8_arabic_file ...
143
143
144
- or enable 'arabic' via the following command within VIM
144
+ or enable 'arabic' via the following command within Vim
145
145
>
146
146
:set arabic
147
147
<
@@ -189,7 +189,7 @@ o Enable Arabic settings [short-cut]
189
189
>
190
190
:set keymap=arabic
191
191
<
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
193
193
your .vimrc file. In other words, you can include ':set keymap=arabic'
194
194
to your .vimrc file.
195
195
@@ -202,7 +202,7 @@ o Enable Arabic settings [short-cut]
202
202
203
203
+ Arabic deletion of a combined pair character
204
204
205
- By default VIM has the 'delcombine' option disabled. This option
205
+ By default Vim has the 'delcombine' option disabled. This option
206
206
allows the deletion of ALEF in a LAM_ALEF (LAA) combined character
207
207
and still retain the LAM (i.e. it reverts to treating the combined
208
208
character as its natural two characters form -- this also pertains
@@ -211,13 +211,13 @@ o Enable Arabic settings [short-cut]
211
211
>
212
212
:set delcombine
213
213
<
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
215
215
to your .vimrc file. In other words, you can include ':set delcombine'
216
216
to your .vimrc file.
217
217
218
218
+ Arabic right-to-left Mode
219
219
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
221
221
command that allows one to alter a window's orientation - that can
222
222
be accomplished via,
223
223
@@ -253,15 +253,15 @@ o Enable Arabic settings [short-cut]
253
253
>
254
254
:set arabicshape
255
255
<
256
- in our VIM window. You can also append the 'arabicshape' set
256
+ in our Vim window. You can also append the 'arabicshape' set
257
257
command to your .vimrc file. In other words, you can include
258
258
':set arabicshape' to your .vimrc file.
259
259
260
260
261
261
Keymap/Keyboard *arabickeymap*
262
262
---------------
263
263
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.
265
265
It is widely discouraged that any other encoding be used or even
266
266
attempted.
267
267
@@ -294,7 +294,7 @@ o Keyboard
294
294
Restrictions
295
295
------------
296
296
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
298
298
(i.e. the ability to see both Arabic and Latin intermixed within
299
299
the same line).
300
300
0 commit comments