On 1/21/2013 12:20 AM, Игорь Фадеев wrote:
21.01.2013 14:42, ping пишет:
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?
I don't know, but it's plugin for google translate. Try to change en|ru pair to another languages or e-mail Makim Ryzhikov - author of plugin ([email protected]).
I check google translate website and figured out...its ja,ko,zh...
thanks!

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

Reply via email to