Sunday, January 20, 2013

Re: google_translator plugin

On 1/20/2013 9:30 PM, Игорь Фадеев wrote:
> 21.01.2013 13:27, John Little пишет:
>> On Monday, January 21, 2013 1:44:09 AM UTC+13, Igor Fadeev wrote:
>>> After i added in my vimrc text:
>>> "g:goog_user_conf = {
>>> 'langpair': 'en|ru', "language code iso 639-1
>>> 'v_key': 'T' "? define key in visual-mode (optional)
>>> }"
>>> when i start vim, console says something like:
>>> "pattern not found: goog_user_conf".
>> Just quickly, surely "let" is needed, and line continuations ("\"),
>> and one can't have comments within a statement:
>>
>> let g:goog_user_conf = {
>> \ 'langpair': 'en|ru',
>> \ 'v_key' : 'T' }
>>
>> or, maybe
>>
>> let g:goog_user_conf = {}
>> let g:goog_user_conf['langpair'] = 'en|ru' "language code iso 639-1
>> let g:goog_user_conf['v_key' ] = 'T' "? define key in
>> visual-mode
>>
>> Regards, John Little
>>
> John, thank you so much. It works!!!
>
I assume this is 'en'glish to 'ru'ssian only?
how about translating to other language, like Japan, korean , or Chinese?

--
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: