waiting-for-dev / vim-www

Toolbox to open & search URLs from vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google translater

woelke opened this issue · comments

Hi, I like this plugin very much. Greate work!

I had two small problems, this is the first one.

I configured the www_urls variable as follow:
let g:www_urls = {
\ 't?' : 'https://translate.google.de/#ne/de/',
\ }

Then I run:
:Wopen t?asdf

and the browser opens the following URL:
https://translate.google.de/\#ne/de/asdf (Error 404)

but it musst be:
https://translate.google.de/#ne/de/asdf (without the '' before '#')

I tried to fix it but I'm not that familiar with vim script.

Hi @aufgang001 . Thanks for your feedback. In which system are you trying (Linux/Mac/Windows)?

I use VIM 7.4 on Linux Ubuntu 14.04

This should fix it. Tell me if it is not ok. Cheers.