https://github.com/tomtom/vimtips2help.rb
Convert vimtips from wikia to vim help files
https://github.com/tomtom/vimtips2help.rb
Last synced: 23 days ago
JSON representation
Convert vimtips from wikia to vim help files
- Host: GitHub
- URL: https://github.com/tomtom/vimtips2help.rb
- Owner: tomtom
- Created: 2010-11-01T14:52:38.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-12-15T14:42:30.000Z (over 14 years ago)
- Last Synced: 2025-01-02T18:47:56.563Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
vimtips2help.rb -- Convert vimtips from wikia to vim help files
===============================================================
This ruby script converts wiki dumps that you can download from
wikia.com to an almost properly formatted and tagged vim help file.
Minimal Makefile:
vimtips.xml:
cd ~/.vim/tmp; \
wget http://wikistats.wikia.com/v/vi/vim/pages_current.xml.gz; \
gunzip pages_current.xml.gz
vimtips.txt:
cd ~/.vim; \
vimtips2help.rb --xml tmp/pages_current.xml --out doc/vimtips.txt -v -m "*´"; \
vim -u NONE -U NONE -c "helptags doc" -c q
vimtips: vimtips.xml vimtips.txt