grown up from vim user to vim plugin developer side
play

Grown up from Vim user to Vim plugin developer side IK : 2019-11-3 - PowerPoint PPT Presentation

Grown up from Vim user to Vim plugin developer side IK : 2019-11-3 : VimConf2019 Designed by @taken_0114 and @get_me_power Outline 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start


  1. Grown up from Vim user to Vim plugin developer side IK : 2019-11-3 : VimConf2019 Designed by @taken_0114 and @get_me_power

  2. Outline

  3. 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start using Vim plugin 4. Study Vim script 6. Join vim-jp May.2018 April.2019 Jun.2019

  4. 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start using Vim plugin 4. Study Vim script 6. Join vim-jp May.2018 April.2019 Jun.2019

  5. :help :help IK.txt IK.txt Name: Kazuma Inagaki Job: undergraduate College of Information science and Engineering Language: Ruby, Python, and Ruby on Rails

  6. :help :help IK.txt IK.txt Name: Kazuma Inagaki Job: undergraduate I have been writing only Vim script recently College of Information science and Engineering Language: Ruby, Python, and Ruby on Rails

  7. Boy meets Vim • Start studying programming • C language • Choose Visual Studio Code first

  8. B u t

  9. A mentor in that school tempted me to start Vim

  10. Start using Vim

  11. It was difficult for me to use Vim

  12. Difficult points Mo Mode ke key bi bind install Pl Plug ugin in ch choosing Plugin

  13. 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start using Vim plugin 4. Study Vim script 6. Join vim-jp May.2018 April.2019 Jun.2019

  14. Starting Install Vim Plugins • A boy gets to know about Vim plugins and meets dein.vim • Start installing many plugins • Get plugin power

  15. Installed 39 plugins for (Neo)vim ! dein.vim deoplete-clangx vim-quickrun defx.nvim deoplete-vim-lsp vim-surround denite.nvim deoplete-tabnine vim-speeddating deoplete.nvim deoplete-jedi vim-starwars async.vim vim-airline vim-sl calender.vim vim-airline-theme emmet-vim gina.vim vim-devicons webapi-vim lexima.vim vimdoc-ja neco-syntax neoinclude.vim vim-endwise neco-vim open-browser.vim vim-fugitive ale open-browser-github.vim vim-lsp autofmt vital.vim vim-gotham gruvbox defx-icons vim-markdown previm

  16. I became a dark side Vimmer

  17. What is a dark side Vimmer??

  18. What is a dark side Vimmer? • Use a lot of Vim Plugin • Use a Dark force created by Shougo a.k.a Dark Vim master • dein.vim • defx.nvim • denite.nvim • deoplete.nvim and more.. • Use a CLI command on Vim • twitvim • gina.vim • webapi-vim and more..

  19. 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start using Vim plugin 4. Study Vim script 6. Join vim-jp May.2018 April.2019 Jun.2019

  20. I attended at VimConf2018 • Invited by guyon to participate in VimConf2018 • Listen to announcements from various Vimmers • High extensibility of Vim

  21. Interesting topics • Web server was running just by pure Vim scirpt • Description of core features such as termdebug • Explanation of Vim standard features • How to make a Vim plugin

  22. I was inspired by Plugin production • Felt the high extensibility of Vim • Want to write Vim script • Want to try Vim art like twitvim , gina.vim and more • Feel it was cool to rely on Vim

  23. 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start using Vim plugin 4. Study Vim script 6. Join vim-jp May.2018 April.2019 Jun.2019

  24. What I did to make the Plugin • I read the Vim script technique Bible • I read the Vim document • Asked questions on vim-jp slack

  25. What was difficult in creating a plugin • Autoload module division • Vim script regular expressions • A few articles about Vim script

  26. Actually created plugin Weather.vim • This is a Vim plugin to know the weather with Vim. Tweet.vim • This is a Vim Plugin for enjoying Twitter from Vim.

  27. 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start using Vim plugin 4. Study Vim script 6. Join vim-jp May.2018 April.2019 Jun.2019

  28. Opportunity to contribute to OSS

  29. denite.nvim ver3.0 was pre-release

  30. I found out that there was a problem with vim-airline

  31. What is vim-airline ?

  32. I reported an issue and wanted to fix it

  33. Issue was closed...

  34. If someone doesn't fix it the bug won't be fixed

  35. Who will fix this problem?

  36. Who will fix this problem? Can I fix it?

  37. Code correction

  38. Receive a correction request from the maintainer

  39. Merge!!

  40. The hard point with the first OSS contribution • Complex directory structure • A lot of files and directories • At first I didn't know the target edit • Understanding the scope

  41. What I gained from my first OSS contribution • Backward compatibility • Git in collective development • Knowledge of Vim script • OSS has been established because someone has contributed

  42. What made me happy during my first OSS contributions • Great software engineers reviewed my code. • Many people are using plugins which include my code. • Now I have developers view points that I didn’ t have back then.

  43. What made me happy during my first OSS contributions • Great software engineers reviewed my code. • Many people are using plugins which include my code. • Now I have developers view points that I didn’ t have back then.

  44. Plugin user Plugin developer

  45. Vim Plugin seen from User • Install useful plugins • If you find a bug in a plugin? • Put up with bugs and keep using them • Stop using plugin

  46. Vim Plugin seen from Developer • If a problem occurs, think about the cause • Report cause or Fix the problem • Consider adding new features • Consider backward compatibility

  47. Examples of contributions... • Fix code • Add new feature • Fix typo and translate a document • Bug report...

  48. Later contributed to various Vim plugins vim vim-airline airline deoplete-tabnine deoplete tabnine vim vim-sl sl defx defx-icons icons webapi-vim webapi vim Vim Vim-flutter flutter vim-go vim go vimdoc-ja vimdoc ja-working working sarahck.vim sarahck.vim vim vim-orgmode orgmode vim vim-starwars starwars vim-ghcid vim ghcid-quickfix quickfix vim vim-devicons devicons deoplete-vim deoplete vim-lsp lsp memolist.vim memolist.vim

  49. 1. Start using Vim 3. Attend VimConf2018 5. First send Pull Request Nov.2017 Nov.2018 May.2019 2. Start using Vim plugin 4. Study Vim script 6. Join vim-jp May.2018 April.2019 Jun.2019

  50. Become a member of vim-jp • Participated in vim-jp in the summer of 2019 • I support the community with translation activities

  51. I recommend sending a Pull Request here

  52. I recommend sending a Pull Request here vimdoc-ja-working • translation defx-icons • Add file icon

  53. vimdoc-ja-working

  54. defx-icons

  55. A patch that displays a gear icon in a toml file

  56. URL • vimdoc-ja-working • https:/ /github.com/vim-jp/vimdoc-ja-working • defx-icons • https:/ /github.com/kristijanhusak/defx-icons

  57. What I want to tell • Contributing to OSS is not scary • OSS is made up of someone doing maintenance • If no one develops, development stops • There is a way to support Developer side from User side

  58. All you need is the courage to take a step.

  59. The next OSS contributer is …

  60. The next OSS contributer is … You !!!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend