>
> Well, you might add the following in your vimrc:
>
> [...]
> set gfn=Courier_New:h9:cDEFAULT
> map <F9> :set gfn=MS_Mincho:h12:cDEFAULT<CR>
> map <S-F9> :set gfn=Courier_New:h9:cDEFAULT<CR>
> [...]
> With the above mappings (or similar ones), in gvim, hit F9 (in Normal
> mode) to set "CJK font", Shift-F9 for "Latin font". You may or may not
> have to change 'lines' and 'columns' manually afterwards, or to maximize
> gvim.
I had already thought of this, but I reserve key mapping for what it
really deserves it (according to my criteria :-) ) Otherwise I would
soon run out of available keys. What I'm thinking right now is that
this could be automated by switching fonts based on which window has
the focus. There is an event for autocommands that could be used,
although it seems related to input focus only, so maybe this is also
not an option.
--
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:
Post a Comment