Vim Plugin Deployment
Upcoming SlideShare
Loading in...5
×
 

Vim Plugin Deployment

on

  • 1,481 views

 

Statistics

Views

Total Views
1,481
Views on SlideShare
1,481
Embed Views
0

Actions

Likes
1
Downloads
6
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \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 Vim Plugin Deployment Presentation Transcript

  • Vim Plugin Deploymentothree @ TOSSUG & Vim-Taiwan
  • The five Ws Who Why Where What How
  • Who am I
  • Who• othree• Front-end engineer at HTC• Vim-Taiwan, Moztw
  • Follow me• https://github.com/othree/• http://blog.othree.net/• http://twitter.com/othree
  • Plugins I made• html5.vim• fecompressor.vim• scroll3quarter.vim
  • I maintained• eregex.vim by AKUTSU toshiyuki• xml.vim by Rene de Zwart
  • My modified fork• jslint.vim by Jesse Hallett• javascript-syntax.vim by Yi Zhao• scss-syntax.vim by Daniel Hofstetter
  • Why deployment
  • Why not plugindevelopment?
  • 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
  • Why• The way people manage vim plugins evolved • pathogen by Tim Pope • Vundle by gmarik
  • My .vim folder
  • Why• My vim script is poor
  • So• Pretend you are going to deploy a plugin
  • So• Pretend you are going to deploy a plugin start building
  • Before Start• What version control system?• Where to store repository?• Dictionary structure?
  • Deploy In Right Way• Easy to maintain• Easy to find• Easy to install
  • Follow Best Practice
  • Where to deploy
  • vim.org
  • github
  • What to deploy
  • to github• The source code put at root dictionary
  • Bad
  • Good
  • to vim.org• vimball a.k.a vba
  • Vim-Makefile• by c9s• https://github.com/c9s/vim-makefile• make vimball
  • How to announce
  • Upload to vim.org
  • Tell friends
  • Mail to Vim-Taiwan
  • Build a Website
  • Questions Before Start• What version control system? git• Where to store repository? github• Dictionary structure? at root
  • Review
  • • Open/Fork project at github
  • • Open/Fork project at github• Clone and write your plugin
  • • Open/Fork project at github• Clone and write your plugin• Use vim-makefile to build vba file
  • • Open/Fork project at github• Clone and write your plugin• Use vim-makefile to build vba file• Deploy to vim.org
  • • 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
  • Questions?