at15 / issue-complete

Auto completion for github/gitlab issues when editing git commit messages using vim
MIT License
4 stars 0 forks source link

Try vim plugin #2

Closed at15 closed 9 years ago

at15 commented 9 years ago

Every time you git commit and vim pop up, it's editing the .git/COMMIT_MSG file, and we can register it as a special file type and then have a function to grab the issue for current repo

But I need to figure out how to config vim before I write my plugin....

at15 commented 9 years ago

this ccould be a sample https://github.com/m2mdas/phpcomplete-extended

at15 commented 9 years ago

maybe I can use user defined completion http://www.openfoundry.org/tw/news/2215

at15 commented 9 years ago

maybe use python to write the plugin http://www.terminally-incoherent.com/blog/2013/05/06/vriting-vim-plugins-in-python/

at15 commented 9 years ago

a blog for learn vim script http://learnvimscriptthehardway.stevelosh.com/

at15 commented 9 years ago

a guide for write vim syntax plugin https://robots.thoughtbot.com/writing-vim-syntax-plugins

at15 commented 9 years ago

a video for write vim plugin in python https://www.youtube.com/watch?v=vMAeYp8mX_M

at15 commented 9 years ago

maybe the markdown one is more useful https://github.com/tpope/vim-markdown