Saturday, March 6, 2010

Re: Please, suggest a font!

On 06/03/10 23:14, Dotan Cohen wrote:
>> You can :set rightleft to reverse the whole split-window in gvim, or (on
>> Linux) you can run Vim in a true-bidi terminal such as mlterm. When $TERM is
>> "mlterm" at startup, Vim sets 'termbidi' which means that the terminal, not
>> Vim, is in charge of bidirectional text display.
>>
>
> Thanks! However, :set leftright doesn't seem to reverse it back!
>
>
>>> How can one configure different fonts for different languages /
>>> unicode blocks? Or do you do it manually?
>>
>> I do it manually.
>>
>
> If you could explain how to do this, even if it is OT for the list, I
> would greatly appreciate it. I have tried playing with all sorts of
> config files in the past, both in my user directory and in system-wide
> directories, and have gotten nowhere. I'm on Kubuntu 9.10, if it
> matters.
>
> Thanks!
>

Well, when I'm about to edit Arabic text (or the Arabic part of a
multilingual page) I just do ":set gfn=Courier\ New\ 10" (using the GTK2
format, because that's how my current gvim was compiled); similarly
":set gfn=FZKaiTi\ 16" (without the quotes in both cases, of course, as
well as the next one) for Chinese, and ":set gfn=Bitstream\ Vera\ Sans\
Mono\ 8" to go back to Latin. Nothing fancy. I could write functions,
commands or mappings to automate it, but in this case I think the game
isn't worth the candle.


Best regards,
Tony.
--
The software said it requires Windows 95 or better, so I installed Linux.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: