Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how i can write arabic html file by vim

Tags:

vim

arabic

I can not write a html file in Arabic by vim.

Tried to do the following:

:set arabic
:set rl

or

:set rightleft

or

:set arabicshape

The problem I want to write Arabic without any change on my tags. I want her to go from left to right.

How i can do thos?

like image 595
Tarek Saied Avatar asked Mar 31 '11 10:03

Tarek Saied


1 Answers

Vim can be invoked in Arabic mode activated by the following command:

vim -A test1

this will start with the cursor located in the right and ready for Arabic text:

السلام عليكم

-- INSERT Arabic --

source: http://blog.naoar.com/2012/04/vim-and-arabic.html

like image 73
arabic unix project Avatar answered Nov 15 '22 08:11

arabic unix project