how to download vim script in command line
Posted
by HaiYuan Zhang
on Super User
See other posts from Super User
or by HaiYuan Zhang
Published on 2010-03-10T22:07:28Z
Indexed on
2010/03/11
18:39 UTC
Read the original article
Hit count: 325
whenever I want to install a new vim script to the linux server I'm working in , my typical workflow is as the following:
- surf the plugin's homepage in vim online using fireXXXX
- download a right version of the plugin to my laptop by click some highlighted link
- upload the downloaded plugin from my laptop to linux server using winscp
which is really inconvenient. I don't know what is the magic behind this : I mean for the same hyperlinki click it in web browser I can let you download it but use wget plus the hyperlink in linux commandline will end up with nothing but error indication. hyperlink in web browser . otherwise I can get the link in web browser and then use wget or some similar tool to actually do the downloding.
I try new cool vim scripts quite often , so you can imagin my dismay when have to repeat the tedious action all the time. So if anyone of you knows some tips which can let me downloading the vim scripts in a more "professional" way, I'll appreciate it a lot.
post edit :
My problem is not find a tool like wget or curl . The problem I met is quite specific to use these tools to download vim script. let's take http://www.vim.org/scripts/script.php?script_id=30 as an example, it's the normal place where one can get the script, at least for me. but I can't find an working url from this page that can feed to wget .
© Super User or respective owner