Re: where can I download vimtips.txt

2012-05-09 Thread 鹏 左
在 2012年5月9日星期三UTC+8上午4时00分24秒,lith写道:
> Am Sonntag, 6. Mai 2012 11:02:05 UTC+2 schrieb 鹏 左:
> > I added a plugin called totd.vim which will show me a tip a day when launch 
> > vim, but I don't know where to download vimtips.txt. I went to Vim Tips 
> > Wiki but still can't find where to download it, any one knows. Many thanks!
> 
> I wrote a small ruby script that converts a wikia xml dump, which can be 
> downloaded from http://wikistats.wikia.com/v/vi/vim/pages_current.xml.gz, to 
> vim help format: https://github.com/tomtom/vimtips2help.rb
> 
> Maybe that's of some help for you.
> 
> Regards

That's really handy, thank you lith.

Regards

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


Re: where can I download vimtips.txt

2012-05-09 Thread 鹏 左
在 2012年5月8日星期二UTC+8下午2时10分57秒,Tony Mechelynck写道:
> On 08/05/12 06:23, John Beckett wrote:
> >> I'm using win7.
> >
> > I don't think it would be very useful, but *if* you can find a
> > text-browser for Windows, you could construct a short script
> > based on ViewHtmlText at:
> > http://vim.wikia.com/wiki/Preview_current_HTML_file
> >
> > to read a text version of a random tip from:
> > http://vim.wikia.com/wiki/Special:Random
> >
> > Or, just open the above link in a browser with:
> > :silent ! start http://vim.wikia.com/wiki/Special:Random
> >
> > Some better-than-average tips are here:
> > http://vim.wikia.com/wiki/Vim_Tips_Wiki:Featured_Tip
> >
> > I got tired of doing all the work to produce monthly featured
> > tips after April 2011, but browsing the above might be useful.
> >
> > John
> >
> 
> 
> The Lynx text browser is available for Windows, see 
> http://en.wikipedia.org/wiki/Lynx_(web_browser)#External_links
> 
> 
> Best regards,
> Tony.
> -- 
> Don't cook tonight -- starve a rat today!

OMG, that's too difficult for me to use!
Thanks anyway.

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


Re: where can I download vimtips.txt

2012-05-08 Thread lith
Am Sonntag, 6. Mai 2012 11:02:05 UTC+2 schrieb 鹏 左:
> I added a plugin called totd.vim which will show me a tip a day when launch 
> vim, but I don't know where to download vimtips.txt. I went to Vim Tips Wiki 
> but still can't find where to download it, any one knows. Many thanks!

I wrote a small ruby script that converts a wikia xml dump, which can be 
downloaded from http://wikistats.wikia.com/v/vi/vim/pages_current.xml.gz, to 
vim help format: https://github.com/tomtom/vimtips2help.rb

Maybe that's of some help for you.

Regards

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


Re: where can I download vimtips.txt

2012-05-07 Thread Tony Mechelynck

On 08/05/12 06:23, John Beckett wrote:

I'm using win7.


I don't think it would be very useful, but *if* you can find a
text-browser for Windows, you could construct a short script
based on ViewHtmlText at:
http://vim.wikia.com/wiki/Preview_current_HTML_file

to read a text version of a random tip from:
http://vim.wikia.com/wiki/Special:Random

Or, just open the above link in a browser with:
:silent ! start http://vim.wikia.com/wiki/Special:Random

Some better-than-average tips are here:
http://vim.wikia.com/wiki/Vim_Tips_Wiki:Featured_Tip

I got tired of doing all the work to produce monthly featured
tips after April 2011, but browsing the above might be useful.

John




The Lynx text browser is available for Windows, see 
http://en.wikipedia.org/wiki/Lynx_(web_browser)#External_links



Best regards,
Tony.
--
Don't cook tonight -- starve a rat today!

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


RE: where can I download vimtips.txt

2012-05-07 Thread John Beckett
> I'm using win7.

I don't think it would be very useful, but *if* you can find a
text-browser for Windows, you could construct a short script
based on ViewHtmlText at:
http://vim.wikia.com/wiki/Preview_current_HTML_file

to read a text version of a random tip from:
http://vim.wikia.com/wiki/Special:Random

Or, just open the above link in a browser with:
:silent ! start http://vim.wikia.com/wiki/Special:Random

Some better-than-average tips are here:
http://vim.wikia.com/wiki/Vim_Tips_Wiki:Featured_Tip

I got tired of doing all the work to produce monthly featured
tips after April 2011, but browsing the above might be useful.

John

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


Re: where can I download vimtips.txt

2012-05-07 Thread 鹏 左
在 2012年5月7日星期一UTC+8下午6时03分27秒,Christian Brabandt写道:
> On Mon, May 7, 2012 06:30, é¹  å·¦ wrote:
> > Yeah, that is kind of old. Cause I want to learn vim day by day, there are
> > so many vim commands, operations, settings so I can't learn them at one
> > time. But I just can't find a good plugin or something to show me
> > something at the first time I open vim in a day.
> >
> 
> Please don't top poste. What operating system are you using?
> 
> regards,
> Christian

Sorry for the top poste before.
I'm using win7.

regards
Peng Zuo

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


Re: where can I download vimtips.txt

2012-05-07 Thread Christian Brabandt
On Mon, May 7, 2012 06:30, 鹏 左 wrote:
> Yeah, that is kind of old. Cause I want to learn vim day by day, there are
> so many vim commands, operations, settings so I can't learn them at one
> time. But I just can't find a good plugin or something to show me
> something at the first time I open vim in a day.
>

Please don't top poste. What operating system are you using?

regards,
Christian

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


Re: where can I download vimtips.txt

2012-05-07 Thread Christian Brabandt
On Mon, May 7, 2012 04:52, Tony Mechelynck wrote:
> On 06/05/12 13:57, John Beckett wrote:
>>> I added a plugin called totd.vim which will show me a tip a
>>> day when launch vim, but I don't know where to download
>>> vimtips.txt. I went to Vim Tips Wiki but still can't find
>>> where to download it, any one knows. Many thanks!
>>
>> I guess that is a very old plugin (last updated July 2006):
>> http://www.vim.org/scripts/script.php?script_id=88
>>
>> At that time, the tips were on vim.org, and there was a download
>> of a zip file with the body of each tip (no comments). Nothing
>> like that is available now.
>>
>> While a nice idea, the tips are not in a suitable state (too
>> much obsolete or misguided advice) to be used for a "tip of the
>> day". What could be done, is that someone might manually work
>> out which tips are in a reasonable condition, and make a file
>> with the tip contents. I would far prefer that work went into
>> cleaning up the tips!
> There is a tips.txt among the help files distributed with Vim (on my
> system, /usr/local/share/vim/vim73/doc/tips.txt for Vim 7.3, last
> changed 2009 Nov 07). These tips are separated by a line of equal signs
> and are meant to be displayed in a Vim help window.

Yes, but those are different tips and having nothing in common with the
tips, that are no managed at vim.wikia.com (well except the name) and
are only a handful.

regards,
Christian

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


Re: where can I download vimtips.txt

2012-05-06 Thread 鹏 左
Yeah, I found it on my computer too, but I found it is not suitable for tip of
the day. Any way, I would just use it now. I am still looking for a better one.
Thanks Tony.

> There is a tips.txt among the help files distributed with Vim (on my 
> system, /usr/local/share/vim/vim73/doc/tips.txt for Vim 7.3, last 
> changed 2009 Nov 07). These tips are separated by a line of equal signs 
> and are meant to be displayed in a Vim help window.
> 
> 
> Best regards,
> Tony.
> -- 
> Don't cook tonight -- starve a rat today!

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


Re: where can I download vimtips.txt

2012-05-06 Thread 鹏 左
I found it, but it seems that is not suitable for tips of the day.


在 2012年5月7日星期一UTC+8上午10时52分13秒,Tony Mechelynck写道:
> On 06/05/12 13:57, John Beckett wrote:
> >> I added a plugin called totd.vim which will show me a tip a
> >> day when launch vim, but I don't know where to download
> >> vimtips.txt. I went to Vim Tips Wiki but still can't find
> >> where to download it, any one knows. Many thanks!
> >
> > I guess that is a very old plugin (last updated July 2006):
> > http://www.vim.org/scripts/script.php?script_id=88
> >
> > At that time, the tips were on vim.org, and there was a download
> > of a zip file with the body of each tip (no comments). Nothing
> > like that is available now.
> >
> > While a nice idea, the tips are not in a suitable state (too
> > much obsolete or misguided advice) to be used for a "tip of the
> > day". What could be done, is that someone might manually work
> > out which tips are in a reasonable condition, and make a file
> > with the tip contents. I would far prefer that work went into
> > cleaning up the tips!
> >
> > John
> >
> 
> 
> There is a tips.txt among the help files distributed with Vim (on my 
> system, /usr/local/share/vim/vim73/doc/tips.txt for Vim 7.3, last 
> changed 2009 Nov 07). These tips are separated by a line of equal signs 
> and are meant to be displayed in a Vim help window.
> 
> 
> Best regards,
> Tony.
> -- 
> Don't cook tonight -- starve a rat today!

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


Re: where can I download vimtips.txt

2012-05-06 Thread 鹏 左
Yeah, that is kind of old. Cause I want to learn vim day by day, there are so 
many vim commands, operations, settings so I can't learn them at one time. But 
I just can't find a good plugin or something to show me something at the first 
time I open vim in a day.

在 2012年5月6日星期日UTC+8下午7时57分05秒,JohnBeckett写道:
> > I added a plugin called totd.vim which will show me a tip a
> > day when launch vim, but I don't know where to download
> > vimtips.txt. I went to Vim Tips Wiki but still can't find
> > where to download it, any one knows. Many thanks!
> 
> I guess that is a very old plugin (last updated July 2006):
> http://www.vim.org/scripts/script.php?script_id=88
> 
> At that time, the tips were on vim.org, and there was a download
> of a zip file with the body of each tip (no comments). Nothing
> like that is available now.
> 
> While a nice idea, the tips are not in a suitable state (too
> much obsolete or misguided advice) to be used for a "tip of the
> day". What could be done, is that someone might manually work
> out which tips are in a reasonable condition, and make a file
> with the tip contents. I would far prefer that work went into
> cleaning up the tips!
> 
> John

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


Re: where can I download vimtips.txt

2012-05-06 Thread Tony Mechelynck

On 06/05/12 13:57, John Beckett wrote:

I added a plugin called totd.vim which will show me a tip a
day when launch vim, but I don't know where to download
vimtips.txt. I went to Vim Tips Wiki but still can't find
where to download it, any one knows. Many thanks!


I guess that is a very old plugin (last updated July 2006):
http://www.vim.org/scripts/script.php?script_id=88

At that time, the tips were on vim.org, and there was a download
of a zip file with the body of each tip (no comments). Nothing
like that is available now.

While a nice idea, the tips are not in a suitable state (too
much obsolete or misguided advice) to be used for a "tip of the
day". What could be done, is that someone might manually work
out which tips are in a reasonable condition, and make a file
with the tip contents. I would far prefer that work went into
cleaning up the tips!

John




There is a tips.txt among the help files distributed with Vim (on my 
system, /usr/local/share/vim/vim73/doc/tips.txt for Vim 7.3, last 
changed 2009 Nov 07). These tips are separated by a line of equal signs 
and are meant to be displayed in a Vim help window.



Best regards,
Tony.
--
Don't cook tonight -- starve a rat today!

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


RE: where can I download vimtips.txt

2012-05-06 Thread John Beckett
> I added a plugin called totd.vim which will show me a tip a
> day when launch vim, but I don't know where to download
> vimtips.txt. I went to Vim Tips Wiki but still can't find
> where to download it, any one knows. Many thanks!

I guess that is a very old plugin (last updated July 2006):
http://www.vim.org/scripts/script.php?script_id=88

At that time, the tips were on vim.org, and there was a download
of a zip file with the body of each tip (no comments). Nothing
like that is available now.

While a nice idea, the tips are not in a suitable state (too
much obsolete or misguided advice) to be used for a "tip of the
day". What could be done, is that someone might manually work
out which tips are in a reasonable condition, and make a file
with the tip contents. I would far prefer that work went into
cleaning up the tips!

John

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