$11 GRAYBYTE WORDPRESS FILE MANAGER $90

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/usr/share/vim/vim80/doc/

HOME
Current File : /usr/share/vim/vim80/doc//farsi.txt
*farsi.txt*     For Vim version 8.0.  Last change: 2015 Aug 29


		  VIM REFERENCE MANUAL    by Mortaza Ghassab Shiran


Right to Left and Farsi Mapping for Vim		*farsi* *Farsi*

{Vi does not have any of these commands}

						*E27*
In order to use right-to-left and Farsi mapping support, it is necessary to
compile Vim with the |+farsi| feature.

These functions have been made by Mortaza G. Shiran <[email protected]>


Introduction
------------
In right-to-left oriented files the characters appear on the screen from right
to left.  This kind of file is most useful when writing Farsi documents,
composing faxes or writing Farsi memos.

The commands, prompts and help files are not in Farsi, therefore the user
interface remains the standard Vi interface.


Highlights
----------
o  Editing left-to-right files as in the original Vim, no change.

o  Viewing and editing files in right-to-left windows.   File orientation is
   per window, so it is possible to view the same file in right-to-left and
   left-to-right modes, simultaneously.

o  Compatibility to the original Vim.   Almost all features work in
   right-to-left mode (see bugs below).

o  Changing keyboard mapping and reverse insert modes using a single
   command.

o  Backing from reverse insert mode to the correct place in the file
   (if possible).

o  While in Farsi mode, numbers are entered from left to right.  Upon entering
   a none number character, that character will be inserted just into the
   left of the last number.

o  No special terminal with right-to-left capabilities is required.  The
   right-to-left changes are completely hardware independent.  Only
   Farsi font is necessary.

o  Farsi keymapping on the command line in reverse insert mode.

o  Toggling between left-to-right and right-to-left via F8 function key.

o  Toggling between Farsi ISIR-3342 standard encoding and Vim Farsi via F9
   function key.  Since this makes sense only for the text written in
   right-to-left mode, this function is also supported only in right-to-left
   mode.

Farsi Fonts					*farsi-fonts*
-----------

The following files are found in the subdirectories of the '$VIM/farsi/fonts'
directory:

   +  far-a01.pcf    X Windows fonts for Unix including Linux systems
   +  far-a01.bf     X Windows fonts for SunOS
   +  far-a01.f16    a screen fonts for Unix including Linux systems
   +  far-a01.fon    a monospaced fonts for Windows NT/95/98
   +  far-a01.com    a screen fonts for DOS


Font Installation
-----------------

o  Installation of fonts for MS Window systems (NT/95/98)

   From 'Control Panel' folder, start the 'Fonts' program.  Then from 'file'
   menu item select 'Install New Fonts ...'.  Browse and select the
   'far-a01.fon', then follow the installation guide.
   NOTE: several people have reported that this does not work.  The solution
   is unknown.

o  Installation of fonts for X Window systems (Unix/Linux)

   Depending on your system, copy far-a01.pcf.Z or far-a01.pcf.gz into a
   directory of your choice.  Change to the directory containing the Farsi
   fonts and execute the following commands:

   >  mkfontdir
   >  xset +fp path_name_of_farsi_fonts_directory

o  Installation of fonts for X Window systems (SunOS)

   Copy far-a01.bf font into a directory of your choice.
   Change to the directory containing the far-a01.fb fonts and
   execute the following commands:

   >  fldfamily
   >  xset +fp path_name_of_fonts_directory

o  Installation of ASCII screen fonts (Unix/Linux)

   For Linux system, copy the far-a01.f16 fonts into /usr/lib/kbd/consolefonts
   directory and execute the setfont program as "setfont far-a01.f16".  For
   other systems (e.g. SCO Unix), please refer to the fonts installation
   section of your system administration manuals.

o  Installation of ASCII screen fonts (DOS)

   After system power on, prior to the first use of Vim, upload the Farsi
   fonts by executing the far-a01.com font uploading program.


Usage
-----
Prior to starting Vim, the environment in which Vim can run in Farsi mode,
must be set.  In addition to installation of Farsi fonts, following points
refer to some of the system environments, which you may need to set:
Key code mapping, loading graphic card in ASCII screen mode, setting the IO
driver in 8 bit clean mode ... .

o  Setting the Farsi fonts

   +  For Vim GUI set the 'guifont' to far-a01.  This is done by entering
      ':set guifont=far-a01' in the Vim window.

      You can have 'guifont' set to far-a01 by Vim during the Vim startup
      by appending the ':set guifont=far-a01' into your .vimrc file
      (in case of NT/95/98 platforms _vimrc).

      Under the X Window environment, you can also start Vim with the
      '-fn far-a01' option.

   +  For Vim within a xterm, start a xterm with the Farsi fonts (e.g.
      kterm -fn far-a01).  Then start Vim inside the kterm.

   +  For Vim under DOS, prior to the first usage of Vim, upload the Farsi
      fonts by executing the far-a01.com fonts uploading program.

o  Farsi Keymapping Activation

   To activate the Farsi keymapping, set either 'altkeymap' or 'fkmap'.
   This is done by entering ':set akm' or ':set fk' in the Vim window.
   You can have 'altkeymap' or 'fkmap' set as default by appending ':set akm'
   or ':set fk' in your .vimrc file or _vimrc in case of NT/95/98 platforms.

   To turn off the Farsi keymapping as a default second language keymapping,
   reset the 'altkeymap' by entering ':set noakm'.

o  right-to-left Farsi Mode

   By default Vim starts in Left-to-right mode.  Following are ways to change
   the window orientation:

   + Start Vim with the -F option (e.g. vim -F ...).

   + Use the F8 function key to toggle between left-to-right and right-to-left.

   + While in Left-to-right mode, enter 'set rl' in the command line ('rl' is
     the abbreviation for rightleft).

   + Put the 'set rl' line in your '.vimrc' file to start Vim in
     right-to-left mode permanently.

Encoding
--------

The letter encoding used is the Vim extended ISIR-3342 standard with a built
in function to convert between Vim extended ISIR-3342 and ISIR-3342 standard.

For document portability reasons, the letter encoding is kept the same across
different platforms (i.e. UNIX's, NT/95/98, MS DOS, ...).


o  Keyboard

   +  CTRL-_ in insert/replace modes toggles between Farsi(akm)/Latin
      mode as follows:

   +  CTRL-_ moves the cursor to the end of the typed text in edit mode.

   +  CTRL-_ in command mode only toggles keyboard mapping between Farsi(akm)/
      Latin.  The Farsi text is then entered in reverse insert mode.

   +  F8 - Toggles between left-to-right and right-to-left.

   +  F9 - Toggles the encoding between ISIR-3342 standard and Vim extended
      ISIR-3342 (supported only in right-to-left mode).

   +  Keyboard mapping is based on the Iranian ISIRI-2901 standard.
      Following table shows the keyboard mapping while Farsi(akm) mode set:

	-------------------------------------
	`  1  2  3  4  5  6  7  8  9  0  -  =
	�  �  �  �  �  �  �  �  �  �  �  �  �
	-------------------------------------
	~  !  @  #  $  %  ^  &  *  (  )  _  +
	~  �  �  �  �  �  �  �  �  �  �  �  �
	-------------------------------------
	q  w  e  r  t  z  u  i  o  p  [  ]
	�  �  �  �  �  �  �  �  �  �  �  �
	-------------------------------------
	Q  W  E  R  T  Z  U  I  O  P  {  }
	�  �  �  �  �  �  �  �  [  ]  {  }
	-------------------------------------
	a  s  d  f  g  h  j  k  l  ;  '  \
	�  �  �  �  �  �  �  �  �  �  �  �
	-------------------------------------
	A  S  D  F  G  H  J  K  L  :  "  |
	�  �� �  �  �  �  �  �  �  �  �  �
	-------------------------------------
	<  y  x  c  v  b  n  m  ,  .  /
	�  �  �  �  �  �  �  �  �  �  �
	-------------------------------------
	>  Y  X  C  V  B  N  M  <  >  ?
	�  �  �  �  �  �  �  �  �  �  �
	-------------------------------------

Note:
	�  stands for Farsi PSP (break without space)

	�  stands for Farsi PCN (for HAMZE attribute)

Restrictions
------------

o  In insert/replace mode and fkmap (Farsi mode) set, CTRL-B is not
   supported.

o  If you change the character mapping between Latin/Farsi, the redo buffer
   will be reset (emptied).  That is, redo is valid and will function (using
   '.') only within the mode you are in.

o  While numbers are entered in Farsi mode, the redo buffer will be reset
   (emptied).  That is, you cannot redo the last changes (using '.') after
   entering numbers.

o  While in left-to-right mode and Farsi mode set, CTRL-R is not supported.

o  While in right-to-left mode, the search on 'Latin' pattern does not work,
   except if you enter the Latin search pattern in reverse.

o  In command mode there is no support for entering numbers from left
   to right and also for the sake of flexibility the keymapping logic is
   restricted.

o  Under the X Window environment, if you want to run Vim within a xterm
   terminal emulator and Farsi mode set, you need to have an ANSI compatible
   xterm terminal emulator.  This is because the letter codes above 128 decimal
   have certain meanings in the standard xterm terminal emulator.

   Note: Under X Window environment, Vim GUI works fine in Farsi mode.
	 This eliminates the need of any xterm terminal emulator.


Bugs
----
While in insert/replace and Farsi mode set, if you repeatedly change the
cursor position (via cursor movement) and enter new text and then try to undo
the last change, the undo will lag one change behind.  But as you continue to
undo, you will reach the original line of text.  You can also use U to undo all
changes made in the current line.

For more information about the bugs refer to rileft.txt.

 vim:tw=78:ts=8:ft=help:norl:


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
13 Mar 2026 10.12 PM
root / root
0755
arabic.txt
11.656 KB
12 Mar 2026 10.09 AM
root / root
0644
autocmd.txt
63.869 KB
12 Mar 2026 10.09 AM
root / root
0644
change.txt
73.122 KB
12 Mar 2026 10.09 AM
root / root
0644
channel.txt
30.097 KB
12 Mar 2026 10.09 AM
root / root
0644
cmdline.txt
46.175 KB
12 Mar 2026 10.09 AM
root / root
0644
debug.txt
7.014 KB
12 Mar 2026 10.09 AM
root / root
0644
debugger.txt
5.609 KB
12 Mar 2026 10.09 AM
root / root
0644
develop.txt
21.82 KB
12 Mar 2026 10.09 AM
root / root
0644
diff.txt
16.138 KB
12 Mar 2026 10.09 AM
root / root
0644
digraph.txt
60.667 KB
12 Mar 2026 10.09 AM
root / root
0644
editing.txt
71.461 KB
12 Mar 2026 10.09 AM
root / root
0644
eval.txt
434.045 KB
12 Mar 2026 10.09 AM
root / root
0644
farsi.txt
9.476 KB
12 Mar 2026 10.09 AM
root / root
0644
filetype.txt
25.325 KB
12 Mar 2026 10.09 AM
root / root
0644
fold.txt
23.139 KB
12 Mar 2026 10.09 AM
root / root
0644
ft_ada.txt
17.819 KB
12 Mar 2026 10.09 AM
root / root
0644
ft_rust.txt
9.303 KB
12 Mar 2026 10.09 AM
root / root
0644
ft_sql.txt
29.975 KB
12 Mar 2026 10.09 AM
root / root
0644
gui.txt
44.523 KB
12 Mar 2026 10.09 AM
root / root
0644
gui_w32.txt
18.473 KB
12 Mar 2026 10.09 AM
root / root
0644
gui_x11.txt
28.789 KB
12 Mar 2026 10.09 AM
root / root
0644
hangulin.txt
3.214 KB
12 Mar 2026 10.09 AM
root / root
0644
hebrew.txt
5.58 KB
12 Mar 2026 10.09 AM
root / root
0644
help.txt
8.377 KB
12 Mar 2026 10.09 AM
root / root
0644
helphelp.txt
14.002 KB
12 Mar 2026 10.09 AM
root / root
0644
howto.txt
2.843 KB
12 Mar 2026 10.09 AM
root / root
0644
if_cscop.txt
18.907 KB
12 Mar 2026 10.09 AM
root / root
0644
if_lua.txt
14.299 KB
12 Mar 2026 10.09 AM
root / root
0644
if_mzsch.txt
11.546 KB
12 Mar 2026 10.09 AM
root / root
0644
if_ole.txt
7.231 KB
12 Mar 2026 10.09 AM
root / root
0644
if_perl.txt
10.888 KB
12 Mar 2026 10.09 AM
root / root
0644
if_pyth.txt
37.055 KB
12 Mar 2026 10.09 AM
root / root
0644
if_ruby.txt
7.826 KB
12 Mar 2026 10.09 AM
root / root
0644
if_sniff.txt
0.26 KB
12 Mar 2026 10.09 AM
root / root
0644
if_tcl.txt
22.486 KB
12 Mar 2026 10.09 AM
root / root
0644
indent.txt
38.503 KB
12 Mar 2026 10.09 AM
root / root
0644
index.txt
74.651 KB
12 Mar 2026 10.09 AM
root / root
0644
insert.txt
81.207 KB
12 Mar 2026 10.09 AM
root / root
0644
intro.txt
38.307 KB
12 Mar 2026 10.09 AM
root / root
0644
map.txt
63.152 KB
12 Mar 2026 10.09 AM
root / root
0644
mbyte.txt
57.916 KB
12 Mar 2026 10.09 AM
root / root
0644
message.txt
30.498 KB
12 Mar 2026 10.09 AM
root / root
0644
mlang.txt
7.666 KB
12 Mar 2026 10.09 AM
root / root
0644
motion.txt
50.393 KB
12 Mar 2026 10.09 AM
root / root
0644
netbeans.txt
36.131 KB
12 Mar 2026 10.09 AM
root / root
0644
options.txt
378.018 KB
12 Mar 2026 10.09 AM
root / root
0644
os_390.txt
4.642 KB
12 Mar 2026 10.09 AM
root / root
0644
os_amiga.txt
5.333 KB
12 Mar 2026 10.09 AM
root / root
0644
os_beos.txt
10.726 KB
12 Mar 2026 10.09 AM
root / root
0644
os_dos.txt
11.739 KB
12 Mar 2026 10.09 AM
root / root
0644
os_mac.txt
6.69 KB
12 Mar 2026 10.09 AM
root / root
0644
os_mint.txt
1.369 KB
12 Mar 2026 10.09 AM
root / root
0644
os_msdos.txt
0.506 KB
12 Mar 2026 10.09 AM
root / root
0644
os_os2.txt
0.287 KB
12 Mar 2026 10.09 AM
root / root
0644
os_qnx.txt
3.976 KB
12 Mar 2026 10.09 AM
root / root
0644
os_risc.txt
0.315 KB
12 Mar 2026 10.09 AM
root / root
0644
os_unix.txt
2.534 KB
12 Mar 2026 10.09 AM
root / root
0644
os_vms.txt
31.348 KB
12 Mar 2026 10.09 AM
root / root
0644
os_win32.txt
13.035 KB
12 Mar 2026 10.09 AM
root / root
0644
pattern.txt
57.931 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_getscript.txt
20.584 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_gzip.txt
1.29 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_logipat.txt
4.088 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_netrw.txt
171.436 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_paren.txt
2.216 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_spec.txt
4.025 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_tar.txt
6.077 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_vimball.txt
11.575 KB
12 Mar 2026 10.09 AM
root / root
0644
pi_zip.txt
6.87 KB
12 Mar 2026 10.09 AM
root / root
0644
print.txt
30.428 KB
12 Mar 2026 10.09 AM
root / root
0644
quickfix.txt
67.403 KB
12 Mar 2026 10.09 AM
root / root
0644
quickref.txt
69.586 KB
12 Mar 2026 10.09 AM
root / root
0644
quotes.txt
12.444 KB
12 Mar 2026 10.09 AM
root / root
0644
recover.txt
10.443 KB
12 Mar 2026 10.09 AM
root / root
0644
remote.txt
8.223 KB
12 Mar 2026 10.09 AM
root / root
0644
repeat.txt
38.646 KB
12 Mar 2026 10.09 AM
root / root
0644
rileft.txt
4.859 KB
12 Mar 2026 10.09 AM
root / root
0644
russian.txt
3.018 KB
12 Mar 2026 10.09 AM
root / root
0644
scroll.txt
13.741 KB
12 Mar 2026 10.09 AM
root / root
0644
sign.txt
6.729 KB
12 Mar 2026 10.09 AM
root / root
0644
spell.txt
61.31 KB
12 Mar 2026 10.09 AM
root / root
0644
sponsor.txt
7.029 KB
12 Mar 2026 10.09 AM
root / root
0644
starting.txt
71.896 KB
12 Mar 2026 10.09 AM
root / root
0644
syntax.txt
212.374 KB
12 Mar 2026 10.09 AM
root / root
0644
tabpage.txt
16.328 KB
12 Mar 2026 10.09 AM
root / root
0644
tags
320.952 KB
12 Mar 2026 10.09 AM
root / root
0644
tagsrch.txt
35.777 KB
12 Mar 2026 10.09 AM
root / root
0644
term.txt
44.352 KB
12 Mar 2026 10.09 AM
root / root
0644
terminal.txt
32.78 KB
12 Mar 2026 10.09 AM
root / root
0644
tips.txt
20.074 KB
12 Mar 2026 10.09 AM
root / root
0644
todo.txt
289.324 KB
12 Mar 2026 10.09 AM
root / root
0644
uganda.txt
13.695 KB
12 Mar 2026 10.09 AM
root / root
0644
undo.txt
16.151 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_01.txt
6.924 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_02.txt
23.769 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_03.txt
23.052 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_04.txt
18.635 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_05.txt
23.266 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_06.txt
9.362 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_07.txt
15.609 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_08.txt
18.92 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_09.txt
11.182 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_10.txt
28.496 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_11.txt
12.315 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_12.txt
13.109 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_20.txt
13.382 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_21.txt
17.942 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_22.txt
13.962 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_23.txt
12.293 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_24.txt
20.38 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_25.txt
18.666 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_26.txt
8.061 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_27.txt
17.308 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_28.txt
15.64 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_29.txt
19.645 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_30.txt
22.125 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_31.txt
10.15 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_32.txt
5.247 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_40.txt
22.641 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_41.txt
87.208 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_42.txt
13.475 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_43.txt
7.23 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_44.txt
28.526 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_45.txt
17.492 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_90.txt
17.247 KB
12 Mar 2026 10.09 AM
root / root
0644
usr_toc.txt
9.002 KB
12 Mar 2026 10.09 AM
root / root
0644
various.txt
28.176 KB
12 Mar 2026 10.09 AM
root / root
0644
version4.txt
13.58 KB
12 Mar 2026 10.09 AM
root / root
0644
version5.txt
301.312 KB
12 Mar 2026 10.09 AM
root / root
0644
version6.txt
563.527 KB
12 Mar 2026 10.09 AM
root / root
0644
version7.txt
658.951 KB
12 Mar 2026 10.09 AM
root / root
0644
version8.txt
668.215 KB
12 Mar 2026 10.09 AM
root / root
0644
vi_diff.txt
41.809 KB
12 Mar 2026 10.09 AM
root / root
0644
visual.txt
21.331 KB
12 Mar 2026 10.09 AM
root / root
0644
windows.txt
51.787 KB
12 Mar 2026 10.09 AM
root / root
0644
workshop.txt
4.522 KB
12 Mar 2026 10.09 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF