annotate runtime/doc/farsi.txt @ 1517:066778e39c2a v7.1.232

updated for version 7.1-232
author vimboss
date Fri, 18 Jan 2008 10:40:55 +0000
parents 8e1a88055846
children 18ee39301b82
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1281
8e1a88055846 updated for version 7.1
vimboss
parents: 1226
diff changeset
1 *farsi.txt* For Vim version 7.1. Last change: 2005 Mar 29
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 Right to Left and Farsi Mapping for Vim *farsi* *Farsi*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 {Vi does not have any of these commands}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 *E27*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 In order to use right-to-left and Farsi mapping support, it is necessary to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 compile Vim with the |+farsi| feature.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 These functions have been made by Mortaza G. Shiran <shiran@jps.net>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 Introduction
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 ------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 In right-to-left oriented files the characters appear on the screen from right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 to left. This kind of file is most useful when writing Farsi documents,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 composing faxes or writing Farsi memos.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 The commands, prompts and help files are not in Farsi, therefore the user
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 interface remains the standard Vi interface.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 Highlights
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 ----------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 o Editing left-to-right files as in the original Vim, no change.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 o Viewing and editing files in right-to-left windows. File orientation is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 per window, so it is possible to view the same file in right-to-left and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 left-to-right modes, simultaneously.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 o Compatibility to the original Vim. Almost all features work in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 right-to-left mode (see bugs below).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 o Changing keyboard mapping and reverse insert modes using a single
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 command.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 o Backing from reverse insert mode to the correct place in the file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 (if possible).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
45 o While in Farsi mode, numbers are entered from left to right. Upon entering
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 a none number character, that character will be inserted just into the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 left of the last number.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 o No special terminal with right-to-left capabilities is required. The
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 right-to-left changes are completely hardware independent. Only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 Farsi font is necessary.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 o Farsi keymapping on the command line in reverse insert mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 o Toggling between left-to-right and right-to-left via F8 function key.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
57 o Toggling between Farsi ISIR-3342 standard encoding and Vim Farsi via F9
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
58 function key. Since this makes sense only for the text written in
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 right-to-left mode, this function is also supported only in right-to-left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 Farsi Fonts *farsi fonts*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 -----------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 If the "extra" archive has been unpacked, the following files are found in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 subdirectories of the '$VIM/farsi' directory:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 + far-a01.pcf X Windows fonts for Unix including Linux systems
9
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
69 + far-a01.bf X Windows fonts for SunOS
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 + far-a01.f16 a screen fonts for Unix including Linux systems
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 + far-a01.fon a monospaced fonts for Windows NT/95/98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 + far-a01.com a screen fonts for DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 Font Installation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 -----------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 o Installation of fonts for MS Window systems (NT/95/98)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
80 From 'Control Panel' folder, start the 'Fonts' program. Then from 'file'
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
81 menu item select 'Install New Fonts ...'. Browse and select the
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 'far-a01.fon', then follow the installation guide.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 NOTE: several people have reported that this does not work. The solution
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 is unknown.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 o Installation of fonts for X Window systems (Unix/Linux)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 Depending on your system, copy far-a01.pcf.Z or far-a01.pcf.gz into a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 directory of your choice. Change to the directory containing the Farsi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 fonts and execute the following commands:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 > mkfontdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 > xset +fp path_name_of_farsi_fonts_directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
9
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
95 o Installation of fonts for X Window systems (SunOS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 Copy far-a01.bf font into a directory of your choice.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 Change to the directory containing the far-a01.fb fonts and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 execute the following commands:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 > fldfamily
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 > xset +fp path_name_of_fonts_directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 o Installation of ASCII screen fonts (Unix/Linux)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 For Linux system, copy the far-a01.f16 fonts into /usr/lib/kbd/consolefonts
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
107 directory and execute the setfont program as "setfont far-a01.f16". For
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 other systems (e.g. SCO Unix), please refer to the fonts installation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 section of your system administration manuals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 o Installation of ASCII screen fonts (DOS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
113 After system power on, prior to the first use of Vim, upload the Farsi
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 fonts by executing the far-a01.com font uploading program.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 Usage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 -----
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
119 Prior to starting Vim, the environment in which Vim can run in Farsi mode,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 must be set. In addition to installation of Farsi fonts, following points
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 refer to some of the system environments, which you may need to set:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 Key code mapping, loading graphic card in ASCII screen mode, setting the IO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 driver in 8 bit clean mode ... .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 o Setting the Farsi fonts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
127 + For Vim GUI set the 'guifont' to far-a01. This is done by entering
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
128 ':set guifont=far-a01' in the Vim window.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
130 You can have 'guifont' set to far-a01 by Vim during the Vim startup
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 by appending the ':set guifont=far-a01' into your .vimrc file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 (in case of NT/95/98 platforms _vimrc).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
134 Under the X Window environment, you can also start Vim with the
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 '-fn far-a01' option.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
137 + For Vim within a xterm, start a xterm with the Farsi fonts (e.g.
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
138 kterm -fn far-a01). Then start Vim inside the kterm.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
140 + For Vim under DOS, prior to the first usage of Vim, upload the Farsi
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 fonts by executing the far-a01.com fonts uploading program.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 o Farsi Keymapping Activation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 To activate the Farsi keymapping, set either 'altkeymap' or 'fkmap'.
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
146 This is done by entering ':set akm' or ':set fk' in the Vim window.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 You can have 'altkeymap' or 'fkmap' set as default by appending ':set akm'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 or ':set fk' in your .vimrc file or _vimrc in case of NT/95/98 platforms.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 To turn off the Farsi keymapping as a default second language keymapping,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 reset the 'altkeymap' by entering ':set noakm'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 o right-to-left Farsi Mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
155 By default Vim starts in Left-to-right mode. Following are ways to change
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 the window orientation:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
158 + Start Vim with the -F option (e.g. vim -F ...).
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
160 + Use the F8 function key to toggle between left-to-right and right-to-left.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 + While in Left-to-right mode, enter 'set rl' in the command line ('rl' is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 the abbreviation for rightleft).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
165 + Put the 'set rl' line in your '.vimrc' file to start Vim in
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 right-to-left mode permanently.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 Encoding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 --------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
171 The letter encoding used is the Vim extended ISIR-3342 standard with a built
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
172 in function to convert between Vim extended ISIR-3342 and ISIR-3342 standard.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 For document portability reasons, the letter encoding is kept the same across
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 different platforms (i.e. UNIX's, NT/95/98, MS DOS, ...).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 o Keyboard
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 + CTRL-_ in insert/replace modes toggles between Farsi(akm)/Latin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 mode as follows:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 + CTRL-_ moves the cursor to the end of the typed text in edit mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 + CTRL-_ in command mode only toggles keyboard mapping between Farsi(akm)/
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
186 Latin. The Farsi text is then entered in reverse insert mode.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 + F8 - Toggles between left-to-right and right-to-left.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
190 + F9 - Toggles the encoding between ISIR-3342 standard and Vim extended
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 ISIR-3342 (supported only in right-to-left mode).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 + Keyboard mapping is based on the Iranian ISIRI-2901 standard.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 Following table shows the keyboard mapping while Farsi(akm) mode set:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 ` 1 2 3 4 5 6 7 8 9 0 - =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 ¢ ± ² ³ ´ µ ¶ · ¸ ¹ ° ­ ½
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 ~ ! @ # $ % ^ & * ( ) _ +
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 ~ £ § ® ¤ ¥ ª ¬ è ¨ © é «
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 q w e r t z u i o p [ ]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 Ó Ò Æ Ù Ø Õ Ö à Ê É Ç ˆ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 Q W E R T Z U I O P { }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 ÷ õ ô ó ò ý ð ö [ ] { }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 a s d f g h j k l ; ' \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 Ñ Ð á Ã Ü Á Å Þ Ý Ú Û ë
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 A S D F G H J K L : " |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 ù û  þ ú ø À ü æ ç º » ê
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 < y x c v b n m , . /
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 ¾ × Ô Î Í Ì Ë Ä ß ¦ ¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 > Y X C V B N M < > ?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 ¼ ñ Ô Ï Í ¡ Ë Â ¾ ¼ ¿
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 -------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 Note:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 ¡ stands for Farsi PSP (break without space)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 ¢ stands for Farsi PCN (for HAMZE attribute )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 Restrictions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 ------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 o In insert/replace mode and fkmap (Farsi mode) set, CTRL-B is not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 supported.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 o If you change the character mapping between Latin/Farsi, the redo buffer
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
234 will be reset (emptied). That is, redo is valid and will function (using
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 '.') only within the mode you are in.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 o While numbers are entered in Farsi mode, the redo buffer will be reset
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
238 (emptied). That is, you cannot redo the last changes (using '.') after
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 entering numbers.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
241 o While in left-to-right mode and Farsi mode set, CTRL-R is not supported.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 o While in right-to-left mode, the search on 'Latin' pattern does not work,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 except if you enter the Latin search pattern in reverse.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
246 o In command mode there is no support for entering numbers from left
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
247 to right and also for the sake of flexibility the keymapping logic is
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 restricted.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
250 o Under the X Window environment, if you want to run Vim within a xterm
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 terminal emulator and Farsi mode set, you need to have an ANSI compatible
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
252 xterm terminal emulator. This is because the letter codes above 128 decimal
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 have certain meanings in the standard xterm terminal emulator.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
255 Note: Under X Window environment, Vim GUI works fine in Farsi mode.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 This eliminates the need of any xterm terminal emulator.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 Bugs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 ----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 While in insert/replace and Farsi mode set, if you repeatedly change the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 cursor position (via cursor movement) and enter new text and then try to undo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 the last change, the undo will lag one change behind. But as you continue to
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 9
diff changeset
264 undo, you will reach the original line of text. You can also use U to undo all
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 changes made in the current line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 For more information about the bugs refer to rileft.txt.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 vim:tw=78:ts=8:ft=help:norl: