but it also seems a interesting and extensible plugin.
to read his japanese blog entries:
http://d.hatena.ne.jp/ampmmn/searchdiary?word=cursoroverdictionary
cursoroverdictionary's features:
- it has operator to search from alc.co.jp
- hmm, I don't want that because I want to select a query
without text-object in most cases like Vim's gf command behavior.
operator feels too much feature for me.
- it can define query like the followings:
call cursoroverdictionary#add("boost",
'http://www.kmonos.net/alang/boost/classes/{word}.html', "utf-8",
"utf-8")
call cursoroverdictionary#set_trim_pattern("boost", '</head><body>', '')
command! -nargs=* LetsBoost CODSearchEx boost <args>
- ref.vim does not have the feature currently because it is not only
for alc dictionary.
it is an interface for perldoc, pydoc, man, and so on.
I think it is not difficult to implement a similar feature in ref.vim
ref.vim's features:
- it supports many sources
- alc, clojure, erlang, hoogle, man, perldoc, phpmanual, pydoc, refe
- there are many users so it is well-tested plugin.
- you can define a own source (:help ref-sources).
- it is fully customizable
- you can use K ("<Plug>(ref-keyword)"), which is the same behavior as
Vim's K command at default.
- but for example, in perldoc buffer, it looks up a perl module.
- for me, thinca who is the author of ref.vim is my friend so I
quickly can send a bug report/patch/feature request! :p
2011/2/25 robert song <robertsong.japan@gmail.com>:
> By the way, there is another plugin
> cursoroverdictionary : Look up word or phrase in English-Japanese
> Dictionary
> http://www.vim.org/scripts/script.php?script_id=2680
>
> which can do the work.
>
> On 2/24/11, tyru <tyru.exe@gmail.com> wrote:
>> http://alc.co.jp/ supports English to Japanese, Japanese to English.
>> and if you want to look up in vim,
>> ref.vim is good.
>> http://www.vim.org/scripts/script.php?script_id=3067
>>
>> " Translate "word" to Japanese.
>> :Ref alc word
>> " Translate "単語" to English.
>> :Ref alc 単語
>>
>>> And any free dict file?
>> alc.co.jp also sell dict file?
>> I don't know well though.
>>
>> On Thu, Feb 24, 2011 at 10:09 AM, robert song
>> <robertsong.japan@gmail.com> wrote:
>>> Hi, everyone.
>>>
>>> Is there any vim plugin which can search for one English word and
>>> translate it into Japanese?
>>>
>>> And any free dict file?
>>>
>>> Regards,
>>> robert
>>>
>>> --
>>> 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
>>>
>>
>> --
>> 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
>>
>
> --
> 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
>
--
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