Vim Plugin Deployment

1,632 views
1,535 views

Published on

Published in: Technology, Art & Photos
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,632
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
10
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Vim Plugin Deployment

    1. 1. Vim Plugin Deploymentothree @ TOSSUG & Vim-Taiwan
    2. 2. The five Ws Who Why Where What How
    3. 3. Who am I
    4. 4. Who• othree• Front-end engineer at HTC• Vim-Taiwan, Moztw
    5. 5. Follow me• https://github.com/othree/• http://blog.othree.net/• http://twitter.com/othree
    6. 6. Plugins I made• html5.vim• fecompressor.vim• scroll3quarter.vim
    7. 7. I maintained• eregex.vim by AKUTSU toshiyuki• xml.vim by Rene de Zwart
    8. 8. My modified fork• jslint.vim by Jesse Hallett• javascript-syntax.vim by Yi Zhao• scss-syntax.vim by Daniel Hofstetter
    9. 9. Why deployment
    10. 10. Why not plugindevelopment?
    11. 11. Why• You might modify a plugin before you can write one from zero• You might write a simple vim script in your vimrc, but it is able to be a plugin
    12. 12. Why• The way people manage vim plugins evolved • pathogen by Tim Pope • Vundle by gmarik
    13. 13. My .vim folder
    14. 14. Why• My vim script is poor
    15. 15. So• Pretend you are going to deploy a plugin
    16. 16. So• Pretend you are going to deploy a plugin start building
    17. 17. Before Start• What version control system?• Where to store repository?• Dictionary structure?
    18. 18. Deploy In Right Way• Easy to maintain• Easy to find• Easy to install
    19. 19. Follow Best Practice
    20. 20. Where to deploy
    21. 21. vim.org
    22. 22. github
    23. 23. What to deploy
    24. 24. to github• The source code put at root dictionary
    25. 25. Bad
    26. 26. Good
    27. 27. to vim.org• vimball a.k.a vba
    28. 28. Vim-Makefile• by c9s• https://github.com/c9s/vim-makefile• make vimball
    29. 29. How to announce
    30. 30. Upload to vim.org
    31. 31. Tell friends
    32. 32. Mail to Vim-Taiwan
    33. 33. Build a Website
    34. 34. Questions Before Start• What version control system? git• Where to store repository? github• Dictionary structure? at root
    35. 35. Review
    36. 36. • Open/Fork project at github
    37. 37. • Open/Fork project at github• Clone and write your plugin
    38. 38. • Open/Fork project at github• Clone and write your plugin• Use vim-makefile to build vba file
    39. 39. • Open/Fork project at github• Clone and write your plugin• Use vim-makefile to build vba file• Deploy to vim.org
    40. 40. • Open/Fork project at github• Clone and write your plugin• Use vim-makefile to build vba file• Deploy to vim.org• Mention where is your git repo
    41. 41. Questions?

    ×