sweetie 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +30 -0
  3. data/.gitignore +3 -0
  4. data/.rubocop.yml +16 -0
  5. data/Gemfile +3 -2
  6. data/README.md +224 -28
  7. data/Rakefile +3 -2
  8. data/lib/sweetie/bitbucket.rb +22 -197
  9. data/lib/sweetie/bitbucket_stati_helper.rb +247 -0
  10. data/lib/sweetie/conversion.rb +91 -62
  11. data/lib/sweetie/helper.rb +60 -51
  12. data/lib/sweetie/version.rb +2 -1
  13. data/lib/sweetie.rb +2 -2
  14. data/spec/fixtures/bitbucket/expected_repositories.txt +1 -0
  15. data/spec/fixtures/bitbucket/repositories.json +1 -0
  16. data/spec/fixtures/jekyll/_config.yml +4 -0
  17. data/spec/fixtures/jekyll/_config_repositories.yml +7 -0
  18. data/spec/fixtures/jekyll/_expected_config.yml +4 -0
  19. data/spec/{source → fixtures/jekyll}/site/404.html +0 -0
  20. data/spec/{source → fixtures/jekyll}/site/about.html +0 -0
  21. data/spec/{source → fixtures/jekyll}/site/archiv.html +0 -0
  22. data/spec/{source → fixtures/jekyll}/site/atom.xml +0 -0
  23. data/spec/{source → fixtures/jekyll}/site/colophon.html +0 -0
  24. data/spec/{source → fixtures/jekyll}/site/contact.html +0 -0
  25. data/spec/{source → fixtures/jekyll}/site/follow.html +0 -0
  26. data/spec/{source → fixtures/jekyll}/site/images/2_avatars.gif +0 -0
  27. data/spec/{source → fixtures/jekyll}/site/images/favicon.png +0 -0
  28. data/spec/{source → fixtures/jekyll}/site/images/images-global/matthias_guenther.jpg +0 -0
  29. data/spec/{source → fixtures/jekyll}/site/images/images-global/matthias_guenther_thumbnail_normal.jpg +0 -0
  30. data/spec/{source → fixtures/jekyll}/site/images/images-global/matthias_guenther_thumbnail_small.jpg +0 -0
  31. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/closebox.png +0 -0
  32. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-caption-fill.png +0 -0
  33. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-caption-l.png +0 -0
  34. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-caption-r.png +0 -0
  35. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow1.png +0 -0
  36. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow2.png +0 -0
  37. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow3.png +0 -0
  38. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow4.png +0 -0
  39. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow5.png +0 -0
  40. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow6.png +0 -0
  41. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow7.png +0 -0
  42. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-shadow8.png +0 -0
  43. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-1.png +0 -0
  44. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-10.png +0 -0
  45. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-11.png +0 -0
  46. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-12.png +0 -0
  47. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-2.png +0 -0
  48. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-3.png +0 -0
  49. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-4.png +0 -0
  50. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-5.png +0 -0
  51. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-6.png +0 -0
  52. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-7.png +0 -0
  53. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-8.png +0 -0
  54. data/spec/{source → fixtures/jekyll}/site/images/images-global/zoom/zoom-spin-9.png +0 -0
  55. data/spec/{source → fixtures/jekyll}/site/images/rails3.jpg +0 -0
  56. data/spec/{source → fixtures/jekyll}/site/index.html +0 -0
  57. data/spec/{source → fixtures/jekyll}/site/robots.txt +0 -0
  58. data/spec/{source → fixtures/jekyll}/site/sitemap.xml +0 -0
  59. data/spec/{source → fixtures/jekyll}/site/why-i-use-jekyll-for-blogging.html +0 -0
  60. data/spec/fixtures/middleman/build/2012-01-meetup/index.html +238 -0
  61. data/spec/fixtures/middleman/build/2012-03-meetup/index.html +217 -0
  62. data/spec/fixtures/middleman/build/2012-05-meetup/index.html +214 -0
  63. data/spec/fixtures/middleman/build/2012-07-meetup/index.html +210 -0
  64. data/spec/fixtures/middleman/build/2012-08-workshop/index.html +228 -0
  65. data/spec/fixtures/middleman/build/2012-09-meetup/index.html +231 -0
  66. data/spec/fixtures/middleman/build/2012-10-workshop/index.html +227 -0
  67. data/spec/fixtures/middleman/build/2012-11-meetup/index.html +229 -0
  68. data/spec/fixtures/middleman/build/2012-unusual-december-meetup/index.html +186 -0
  69. data/spec/fixtures/middleman/build/2013-01-meetup/index.html +226 -0
  70. data/spec/fixtures/middleman/build/404/index.html +157 -0
  71. data/spec/fixtures/middleman/build/CNAME +1 -0
  72. data/spec/fixtures/middleman/build/april-2014-meetup/index.html +221 -0
  73. data/spec/fixtures/middleman/build/april-2015-meetup/index.html +204 -0
  74. data/spec/fixtures/middleman/build/april-2017-meetup/index.html +210 -0
  75. data/spec/fixtures/middleman/build/assets/favicons/android-chrome-144x144.png +0 -0
  76. data/spec/fixtures/middleman/build/assets/favicons/android-chrome-192x192.png +0 -0
  77. data/spec/fixtures/middleman/build/assets/favicons/android-chrome-36x36.png +0 -0
  78. data/spec/fixtures/middleman/build/assets/favicons/android-chrome-48x48.png +0 -0
  79. data/spec/fixtures/middleman/build/assets/favicons/android-chrome-72x72.png +0 -0
  80. data/spec/fixtures/middleman/build/assets/favicons/android-chrome-96x96.png +0 -0
  81. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-114x114.png +0 -0
  82. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-120x120.png +0 -0
  83. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-144x144.png +0 -0
  84. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-152x152.png +0 -0
  85. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-180x180.png +0 -0
  86. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-57x57.png +0 -0
  87. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-60x60.png +0 -0
  88. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-72x72.png +0 -0
  89. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-76x76.png +0 -0
  90. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon-precomposed.png +0 -0
  91. data/spec/fixtures/middleman/build/assets/favicons/apple-touch-icon.png +0 -0
  92. data/spec/fixtures/middleman/build/assets/favicons/browserconfig.xml +12 -0
  93. data/spec/fixtures/middleman/build/assets/favicons/favicon-16x16.png +0 -0
  94. data/spec/fixtures/middleman/build/assets/favicons/favicon-32x32.png +0 -0
  95. data/spec/fixtures/middleman/build/assets/favicons/favicon-96x96.png +0 -0
  96. data/spec/fixtures/middleman/build/assets/favicons/favicon.ico +0 -0
  97. data/spec/fixtures/middleman/build/assets/favicons/manifest.json +41 -0
  98. data/spec/fixtures/middleman/build/assets/favicons/mstile-144x144.png +0 -0
  99. data/spec/fixtures/middleman/build/assets/favicons/mstile-150x150.png +0 -0
  100. data/spec/fixtures/middleman/build/assets/favicons/mstile-310x150.png +0 -0
  101. data/spec/fixtures/middleman/build/assets/favicons/mstile-310x310.png +0 -0
  102. data/spec/fixtures/middleman/build/assets/favicons/mstile-70x70.png +0 -0
  103. data/spec/fixtures/middleman/build/assets/favicons/safari-pinned-tab.svg +450 -0
  104. data/spec/fixtures/middleman/build/assets/images/launch_co_logo.png +0 -0
  105. data/spec/fixtures/middleman/build/assets/images/vimfest.png +0 -0
  106. data/spec/fixtures/middleman/build/assets/javascripts/application.js +12 -0
  107. data/spec/fixtures/middleman/build/assets/javascripts/jquery.utils.js +12 -0
  108. data/spec/fixtures/middleman/build/assets/javascripts/lib/validate.js +1 -0
  109. data/spec/fixtures/middleman/build/assets/stylesheets/application.css +5 -0
  110. data/spec/fixtures/middleman/build/assets/stylesheets/vendor/bootstrap.css +5 -0
  111. data/spec/fixtures/middleman/build/august-2013-meetup/index.html +208 -0
  112. data/spec/fixtures/middleman/build/blog/index.html +500 -0
  113. data/spec/fixtures/middleman/build/book-club-about-the-viml-primer/index.html +182 -0
  114. data/spec/fixtures/middleman/build/contact/index.html +155 -0
  115. data/spec/fixtures/middleman/build/data/vimberlin-2013-09_ctags/index.html +98 -0
  116. data/spec/fixtures/middleman/build/data/vimberlin-2013-09_vimprofiling/index.html +157 -0
  117. data/spec/fixtures/middleman/build/data/vimberlin-2014-01_vim_writing/index.html +70 -0
  118. data/spec/fixtures/middleman/build/december-2015-meetup/index.html +199 -0
  119. data/spec/fixtures/middleman/build/december-2016-meetup/index.html +224 -0
  120. data/spec/fixtures/middleman/build/february-2013-vim-beer-lin/index.html +190 -0
  121. data/spec/fixtures/middleman/build/february-2015-meetup/index.html +233 -0
  122. data/spec/fixtures/middleman/build/february-2016-meetup/index.html +271 -0
  123. data/spec/fixtures/middleman/build/feed.xml +2106 -0
  124. data/spec/fixtures/middleman/build/fonts/FontAwesome.otf +0 -0
  125. data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.eot +0 -0
  126. data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.svg +655 -0
  127. data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.ttf +0 -0
  128. data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.woff +0 -0
  129. data/spec/fixtures/middleman/build/fonts/fontawesome-webfont.woff2 +0 -0
  130. data/spec/fixtures/middleman/build/humans.txt +12 -0
  131. data/spec/fixtures/middleman/build/imprint/index.html +177 -0
  132. data/spec/fixtures/middleman/build/index.html +157 -0
  133. data/spec/fixtures/middleman/build/january-2014-meetup/index.html +257 -0
  134. data/spec/fixtures/middleman/build/january-2015-meetup/index.html +243 -0
  135. data/spec/fixtures/middleman/build/january-2016-meetup/index.html +202 -0
  136. data/spec/fixtures/middleman/build/january-2017-meetup/index.html +228 -0
  137. data/spec/fixtures/middleman/build/july-2015-meetup/index.html +207 -0
  138. data/spec/fixtures/middleman/build/june-2016-meetup/index.html +260 -0
  139. data/spec/fixtures/middleman/build/march-2-2017-meetup/index.html +201 -0
  140. data/spec/fixtures/middleman/build/march-2014-meetup/index.html +219 -0
  141. data/spec/fixtures/middleman/build/march-2016-meetup/index.html +221 -0
  142. data/spec/fixtures/middleman/build/march-2017-meetup/index.html +222 -0
  143. data/spec/fixtures/middleman/build/may-2013-meetup/index.html +234 -0
  144. data/spec/fixtures/middleman/build/may-2014-meetup/index.html +198 -0
  145. data/spec/fixtures/middleman/build/may-2015-meetup/index.html +202 -0
  146. data/spec/fixtures/middleman/build/may-2016-meetup/index.html +245 -0
  147. data/spec/fixtures/middleman/build/newsletter/index.html +171 -0
  148. data/spec/fixtures/middleman/build/november-2013-meetup/index.html +199 -0
  149. data/spec/fixtures/middleman/build/november-2015-meetup/index.html +402 -0
  150. data/spec/fixtures/middleman/build/november-2016-meetup/index.html +224 -0
  151. data/spec/fixtures/middleman/build/october-2013-meetup/index.html +210 -0
  152. data/spec/fixtures/middleman/build/october-2014-meetup/index.html +196 -0
  153. data/spec/fixtures/middleman/build/october-2016-meetup/index.html +222 -0
  154. data/spec/fixtures/middleman/build/robots.txt +6 -0
  155. data/spec/fixtures/middleman/build/september-2013-meetup/index.html +225 -0
  156. data/spec/fixtures/middleman/build/september-2014-meetup/index.html +211 -0
  157. data/spec/fixtures/middleman/build/sitemap.xml +297 -0
  158. data/spec/fixtures/middleman/build/vimfest-october-2015/index.html +303 -0
  159. data/spec/fixtures/middleman/config.rb +4 -0
  160. data/spec/fixtures/middleman/config_repositories.rb +7 -0
  161. data/spec/fixtures/middleman/expected_config.rb +4 -0
  162. data/spec/spec_helper.rb +2 -2
  163. data/spec/sweetie_bitbucket_spec.rb +26 -51
  164. data/spec/sweetie_bitbucket_stati_helper_spec.rb +124 -0
  165. data/spec/sweetie_conversion_spec.rb +105 -17
  166. data/spec/sweetie_helper_spec.rb +140 -0
  167. data/sweetie.gemspec +10 -9
  168. metadata +163 -56
  169. data/.travis.yml +0 -7
  170. data/spec/source/_config.yml +0 -18
  171. data/spec/source/bitbucket/user_repositories.json +0 -161
  172. data/spec/source/bitbucket/user_repositories_expectation.txt +0 -1
@@ -0,0 +1,182 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html itemscope itemtype="http://schema.org/BlogPosting">
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
7
+ <title>Book Club About "The VimL Primer" - Vimberlin</title>
8
+ <meta name="description" content="Book Club About "The VimL Primer" - Vimberlin">
9
+ <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
10
+ <link href="/assets/stylesheets/application.css" rel="stylesheet" type="text/css" />
11
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
12
+ <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
13
+ <link rel="apple-touch-icon" sizes="57x57" href="/assets/favicons/apple-touch-icon-57x57.png">
14
+ <link rel="apple-touch-icon" sizes="60x60" href="/assets/favicons/apple-touch-icon-60x60.png">
15
+ <link rel="apple-touch-icon" sizes="72x72" href="/assets/favicons/apple-touch-icon-72x72.png">
16
+ <link rel="apple-touch-icon" sizes="76x76" href="/assets/favicons/apple-touch-icon-76x76.png">
17
+ <link rel="apple-touch-icon" sizes="114x114" href="/assets/favicons/apple-touch-icon-114x114.png">
18
+ <link rel="apple-touch-icon" sizes="120x120" href="/assets/favicons/apple-touch-icon-120x120.png">
19
+ <link rel="apple-touch-icon" sizes="144x144" href="/assets/favicons/apple-touch-icon-144x144.png">
20
+ <link rel="apple-touch-icon" sizes="152x152" href="/assets/favicons/apple-touch-icon-152x152.png">
21
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon-180x180.png">
22
+ <link rel="icon" type="image/png" href="/assets/favicons/favicon-32x32.png" sizes="32x32">
23
+ <link rel="icon" type="image/png" href="/assets/favicons/android-chrome-192x192.png" sizes="192x192">
24
+ <link rel="icon" type="image/png" href="/assets/favicons/favicon-96x96.png" sizes="96x96">
25
+ <link rel="icon" type="image/png" href="/assets/favicons/favicon-16x16.png" sizes="16x16">
26
+ <link rel="manifest" href="/assets/favicons/manifest.json">
27
+ <link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg">
28
+ <link rel="shortcut icon" href="/assets/favicons/favicon.ico">
29
+ <meta name="apple-mobile-web-app-title" content="vimberlin">
30
+ <meta name="application-name" content="vimberlin">
31
+ <meta name="msapplication-TileColor" content="#da532c">
32
+ <meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png">
33
+ <meta name="msapplication-config" content="/assets/favicons/browserconfig.xml">
34
+ <meta name="theme-color" content="#ffffff">
35
+
36
+ </head>
37
+
38
+ <body>
39
+
40
+ <header>
41
+ <div class="container">
42
+ <div class="row">
43
+ <div class="col-md-2 col-md-offset-1 hidden-xs">
44
+ <a href="/"><img class="headline-image" alt="Vimberlin headline image" src="https://pbs.twimg.com/profile_images/1761428936/vim10_200x200.JPG" /></a>
45
+ </div>
46
+ <div class="col-md-7 hidden-xs">
47
+ <h1 class="headline-link"> <a href="/">Vimberlin</a></h1><br>
48
+ <span class="headline"><a href="/">the gathering for Vim-enthusiasts in Berlin</a></span>
49
+ </div>
50
+ </div>
51
+ <div class="row">
52
+ <div class="col-md-10 col-md-offset-1">
53
+ <nav class="navbar navbar-default navbar-primary">
54
+ <!-- Brand and toggle get grouped for better mobile display -->
55
+ <div class="navbar-header">
56
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-primary">
57
+ <span class="sr-only">Toggle navigation</span>
58
+ <i class="fa fa-navicon"></i>
59
+ </button>
60
+ </div>
61
+
62
+ <!-- Collect the nav links, forms, and other content for toggling -->
63
+ <div class="collapse navbar-collapse nav-primary">
64
+ <ul class="nav navbar-nav navbar-right">
65
+ <li class=""><a href="/blog">Blog</a></li>
66
+ <li class=""><a href="/newsletter">Newsletter</a></li>
67
+ <li><a target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a></li>
68
+ <li><a target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
69
+ <li><a target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
70
+ <li><a target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
71
+ <li><a target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a></li>
72
+ <li><a target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a></li>
73
+ </ul>
74
+ </div><!-- /.navbar-collapse -->
75
+ </nav>
76
+
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </header>
81
+
82
+ <main>
83
+ <div class="container" itemprop="articleBody">
84
+ <div class="row">
85
+ <div class="col-md-10 col-md-offset-1">
86
+ <h2>Book Club About "The VimL Primer"</h2>
87
+
88
+ <div class="pull-right">
89
+ <a href="#comments">Comments</a>
90
+ </div>
91
+ <p><img src="https://imagery.pragprog.com/products/420/bkviml_xlargecover.jpg?1415117329"></p>
92
+
93
+ <p>We will have our first book club about <a title="Ben Klein" href="https://twitter.com/fifthposition">Ben Klein&#39;s</a> book <a title="The VimL Primer: Edit Like a Pro with Vim Plugins and Scripts" href="https://pragprog.com/book/bkviml/the-viml-primer">The VimL Primer: Edit Like a Pro with Vim Plugins and Scripts</a>. If you want to get started scripting your own Vim plugins or learn something new, then this book might be a good start:</p>
94
+
95
+ <blockquote>
96
+ <p>Build on your editor’s capabilities and tailor your editing experience with VimL, the powerful scripting language built into Vim. With VimL you can configure basic settings or add entirely new functionality. Use this quick and easy introduction to create your own Vim plugin while learning the concepts and syntax of VimL.</p>
97
+ </blockquote>
98
+
99
+ <p>You will get a 35% coupon code. Just write me a pm under <a title="@vimberlin" href="http://twitter.com/vimberlin">@vimberlin</a>.</p>
100
+
101
+ <p>We will talk about this book in our March Meetup. Having questions, ideas or if
102
+ you want to report your progress through the book, please <a title="share your knowledge with us" href="https://groups.google.com/group/vimberlin/">share your knowledge with us</a>.</p>
103
+
104
+ <h2>Sponsor</h2>
105
+
106
+ <p><img title="PragProg Image" alt="pragprog" src="/images/pragprog.png" /></p>
107
+
108
+ <p>Thanks to <a title="pragprog" href="https://pragprog.com/">pragprog</a> for giving us the discount.</p>
109
+
110
+ <p><strong><a title="Matthias Günther" href="http://wikimatze.de/about">Matthias Günther</a></strong></p>
111
+
112
+
113
+ <a class="prev" href="/february-2015-meetup/" rel="prev" title="Previous article: February 2015 Meetup">&laquo; February 2015 Meetup</a>
114
+ <a class="next" href="/april-2015-meetup/" rel="next" title="Next article: April 2015 Meetup">April 2015 Meetup &raquo; </a>
115
+ <div style="clear: both;"></div>
116
+ <a href="#comments"><span id="cmtcount"></span> Comments</a>
117
+ <div id="hashover"></div>
118
+ <script type="text/javascript" src="/hashover.php" defer="defer"></script>
119
+ </div>
120
+ </div>
121
+ </div >
122
+ </main>
123
+
124
+ <div class="footer--colophon hidden-xs">
125
+ <div class="container">
126
+ <div class="row">
127
+ <div class="col-md-6 col-md-offset-1">
128
+ <p class="footer--colophon__copyright">
129
+ <a href="/imprint"> Imprint</a>
130
+ <a style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;" href="/contact">Contact</a>
131
+ <a target="_blank" rel="noopener noreferrer" href="http://vimfest.org" style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;">Vimfest</a>
132
+ <a class="footer-link" style="border-left: #d5dbde 1px solid;margin-left: 8px" target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a>
133
+ &nbsp;
134
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a>
135
+ &nbsp;
136
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a>
137
+ &nbsp;
138
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a>
139
+ &nbsp;
140
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a>
141
+ &nbsp;
142
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a>
143
+ </p>
144
+ </div>
145
+ <div class="col-md-2 col-md-offset-3 hidden-xs">
146
+ <p class="footer--colophon__poweredby">Powered by <a href="https://github.com/timknight/middleman-ethos" target="_blank">Ethos</a></p>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </div>
151
+
152
+ <script type="text/javascript">
153
+ var _paq = _paq || [];
154
+ _paq.push(['trackPageView']);
155
+ _paq.push(['enableLinkTracking']);
156
+ (function() {
157
+ var u=(("https:" == document.location.protocol) ? "https" : "http") + "://vimberlin.de/piwik/";
158
+ _paq.push(['setTrackerUrl', u+'piwik.php']);
159
+ _paq.push(['setSiteId', 1]);
160
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
161
+ g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
162
+ })();
163
+ </script>
164
+ <noscript><p><img src="https://vimberlin.de/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
165
+
166
+
167
+
168
+ <script src="/assets/javascripts/application.js" type="text/javascript"></script>
169
+ <!-- Hotjar Tracking Code for http://vimberlin.de -->
170
+ <script>
171
+ (function(h,o,t,j,a,r){
172
+ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
173
+ h._hjSettings={hjid:370627,hjsv:5};
174
+ a=o.getElementsByTagName('head')[0];
175
+ r=o.createElement('script');r.async=1;
176
+ r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
177
+ a.appendChild(r);
178
+ })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
179
+ </script>
180
+
181
+ </body>
182
+ </html>
@@ -0,0 +1,155 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html itemscope itemtype="http://schema.org/WebPage">
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
7
+ <title>Contact - Vimberlin</title>
8
+ <meta name="description" content="How can you stay in contact with us">
9
+ <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
10
+ <link href="/assets/stylesheets/application.css" rel="stylesheet" type="text/css" />
11
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
12
+ <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
13
+ <link rel="apple-touch-icon" sizes="57x57" href="/assets/favicons/apple-touch-icon-57x57.png">
14
+ <link rel="apple-touch-icon" sizes="60x60" href="/assets/favicons/apple-touch-icon-60x60.png">
15
+ <link rel="apple-touch-icon" sizes="72x72" href="/assets/favicons/apple-touch-icon-72x72.png">
16
+ <link rel="apple-touch-icon" sizes="76x76" href="/assets/favicons/apple-touch-icon-76x76.png">
17
+ <link rel="apple-touch-icon" sizes="114x114" href="/assets/favicons/apple-touch-icon-114x114.png">
18
+ <link rel="apple-touch-icon" sizes="120x120" href="/assets/favicons/apple-touch-icon-120x120.png">
19
+ <link rel="apple-touch-icon" sizes="144x144" href="/assets/favicons/apple-touch-icon-144x144.png">
20
+ <link rel="apple-touch-icon" sizes="152x152" href="/assets/favicons/apple-touch-icon-152x152.png">
21
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon-180x180.png">
22
+ <link rel="icon" type="image/png" href="/assets/favicons/favicon-32x32.png" sizes="32x32">
23
+ <link rel="icon" type="image/png" href="/assets/favicons/android-chrome-192x192.png" sizes="192x192">
24
+ <link rel="icon" type="image/png" href="/assets/favicons/favicon-96x96.png" sizes="96x96">
25
+ <link rel="icon" type="image/png" href="/assets/favicons/favicon-16x16.png" sizes="16x16">
26
+ <link rel="manifest" href="/assets/favicons/manifest.json">
27
+ <link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg">
28
+ <link rel="shortcut icon" href="/assets/favicons/favicon.ico">
29
+ <meta name="apple-mobile-web-app-title" content="vimberlin">
30
+ <meta name="application-name" content="vimberlin">
31
+ <meta name="msapplication-TileColor" content="#da532c">
32
+ <meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png">
33
+ <meta name="msapplication-config" content="/assets/favicons/browserconfig.xml">
34
+ <meta name="theme-color" content="#ffffff">
35
+
36
+ </head>
37
+
38
+ <body>
39
+ <header>
40
+ <div class="container">
41
+ <div class="row">
42
+ <div class="col-md-2 col-md-offset-1 hidden-xs">
43
+ <a href="/"><img class="headline-image" alt="Vimberlin headline image" src="https://pbs.twimg.com/profile_images/1761428936/vim10_200x200.JPG" /></a>
44
+ </div>
45
+ <div class="col-md-7 hidden-xs">
46
+ <h1 class="headline-link"> <a href="/">Vimberlin</a></h1><br>
47
+ <span class="headline"><a href="/">the gathering for Vim-enthusiasts in Berlin</a></span>
48
+ </div>
49
+ </div>
50
+ <div class="row">
51
+ <div class="col-md-10 col-md-offset-1">
52
+ <nav class="navbar navbar-default navbar-primary">
53
+ <!-- Brand and toggle get grouped for better mobile display -->
54
+ <div class="navbar-header">
55
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-primary">
56
+ <span class="sr-only">Toggle navigation</span>
57
+ <i class="fa fa-navicon"></i>
58
+ </button>
59
+ </div>
60
+
61
+ <!-- Collect the nav links, forms, and other content for toggling -->
62
+ <div class="collapse navbar-collapse nav-primary">
63
+ <ul class="nav navbar-nav navbar-right">
64
+ <li class=""><a href="/blog">Blog</a></li>
65
+ <li class=""><a href="/newsletter">Newsletter</a></li>
66
+ <li><a target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a></li>
67
+ <li><a target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
68
+ <li><a target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
69
+ <li><a target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
70
+ <li><a target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a></li>
71
+ <li><a target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a></li>
72
+ </ul>
73
+ </div><!-- /.navbar-collapse -->
74
+ </nav>
75
+
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </header>
80
+
81
+ <main>
82
+ <div class="container">
83
+ <div class="row">
84
+ <div class="col-md-12">
85
+ <h2>Contact</h2>
86
+ <ul>
87
+ <li><a target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#">Mailing List</a></li>
88
+ <li><a href="https://gitter.im/vimberlin/vimfest" rel="noopener noreferrer" target="_blank">Gitter Chat</a></li>
89
+ <li><a href="https://twitter.com/vimberlin" rel="noopener noreferrer" target="_blank">Twitter</a></li>
90
+
91
+ <li>#vimberlin on IRC</li>
92
+ <li><a href="mailto:&#118;&#105;&#109;&#098;&#101;&#114;&#108;&#105;&#110;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109">Email</a></li>
93
+ </div>
94
+ </div>
95
+ </div>
96
+
97
+ </main>
98
+ <div class="footer--colophon hidden-xs">
99
+ <div class="container">
100
+ <div class="row">
101
+ <div class="col-md-6 col-md-offset-1">
102
+ <p class="footer--colophon__copyright">
103
+ <a href="/imprint"> Imprint</a>
104
+ <a style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;" href="/contact">Contact</a>
105
+ <a target="_blank" rel="noopener noreferrer" href="http://vimfest.org" style="border-left: #d5dbde 1px solid;margin-left: 8px; padding-left: 12px;">Vimfest</a>
106
+ <a class="footer-link" style="border-left: #d5dbde 1px solid;margin-left: 8px" target="_blank" rel="noopener noreferrer" href="http://feeds.feedburner.com/vimberlin"><i class="fa fa-rss" aria-hidden="true"></i></a>
107
+ &nbsp;
108
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://twitter.com/vimberlin"><i class="fa fa-twitter" aria-hidden="true"></i></a>
109
+ &nbsp;
110
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/vimberlin/"><i class="fa fa-facebook" aria-hidden="true"></i></a>
111
+ &nbsp;
112
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://plus.google.com/104181155837327547516"><i class="fa fa-google-plus" aria-hidden="true"></i></a>
113
+ &nbsp;
114
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://github.com/vimberlin/vimberlin.de"><i class="fa fa-github" aria-hidden="true"></i></a>
115
+ &nbsp;
116
+ <a class="footer-link" target="_blank" rel="noopener noreferrer" href="https://groups.google.com/group/vimberlin/#"><i class="fa fa-envelope" aria-hidden="true"></i></a>
117
+ </p>
118
+ </div>
119
+ <div class="col-md-2 col-md-offset-3 hidden-xs">
120
+ <p class="footer--colophon__poweredby">Powered by <a href="https://github.com/timknight/middleman-ethos" target="_blank">Ethos</a></p>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+
126
+ <script type="text/javascript">
127
+ var _paq = _paq || [];
128
+ _paq.push(['trackPageView']);
129
+ _paq.push(['enableLinkTracking']);
130
+ (function() {
131
+ var u=(("https:" == document.location.protocol) ? "https" : "http") + "://vimberlin.de/piwik/";
132
+ _paq.push(['setTrackerUrl', u+'piwik.php']);
133
+ _paq.push(['setSiteId', 1]);
134
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
135
+ g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
136
+ })();
137
+ </script>
138
+ <noscript><p><img src="https://vimberlin.de/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
139
+
140
+
141
+ <script src="/assets/javascripts/application.js" type="text/javascript"></script>
142
+ <!-- Hotjar Tracking Code for http://vimberlin.de -->
143
+ <script>
144
+ (function(h,o,t,j,a,r){
145
+ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
146
+ h._hjSettings={hjid:370627,hjsv:5};
147
+ a=o.getElementsByTagName('head')[0];
148
+ r=o.createElement('script');r.async=1;
149
+ r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
150
+ a.appendChild(r);
151
+ })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
152
+ </script>
153
+
154
+ </body>
155
+ </html>
@@ -0,0 +1,98 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5
+ <title>~/Dropbox/bitbucket/presentations/slides.markdown.html</title>
6
+ <meta name="Generator" content="Vim/7.4">
7
+ <meta name="plugin-version" content="vim7.4_v1">
8
+ <meta name="syntax" content="mkd">
9
+ <meta name="settings" content="use_css,pre_wrap,no_foldcolumn,expand_tabs,prevent_copy=">
10
+ <meta name="colorscheme" content="detailed">
11
+ <style type="text/css">
12
+ <!--
13
+ pre { white-space: pre-wrap; font-family: monospace; color: #e4e4e4; background-color: #080808; }
14
+ body { font-family: monospace; color: #e4e4e4; background-color: #080808; }
15
+ * { font-size: 1em; }
16
+ .detailedString { color: #af005f; background-color: #121212; padding-bottom: 1px; }
17
+ .Title { color: #ffd7ff; }
18
+ .Underlined { color: #5fd7ff; text-decoration: underline; }
19
+ .Identifier { color: #00ffff; font-weight: bold; }
20
+ .lv8c { color: #626262; }
21
+ -->
22
+ </style>
23
+
24
+ <script type='text/javascript'>
25
+ <!--
26
+
27
+ -->
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <pre id='vimCodeElement'>
32
+ <span class="Title"># Installation</span>
33
+
34
+ <span class="detailedString"> # Linux</span>
35
+ <span class="detailedString"> sudo apt-get install exuberant-ctags</span>
36
+ <span class="detailedString"> # Mac</span>
37
+ <span class="detailedString"> brew install ctags</span>
38
+
39
+
40
+ <span class="Title"># Creating tags</span>
41
+
42
+ <span class="detailedString"> $ git clone <a href="https://github.com/padrino/padrino-framework">https://github.com/padrino/padrino-framework</a></span>
43
+ <span class="detailedString"> $ cd padrino-framework</span>
44
+ <span class="detailedString"> $ ctags -R .</span>
45
+
46
+
47
+ <span class="Title"># Excluding certain files</span>
48
+
49
+ <span class="detailedString"> $ ctags -R --exclude=&quot;*.js&quot; .</span>
50
+
51
+ even exclude more than one file:
52
+
53
+ <span class="detailedString"> $ ctags -R --exclude=&quot;*.js&quot; --exclude=&quot;*.git&quot;.</span>
54
+
55
+
56
+ <span class="Title"># Understanding the tag format header</span>
57
+
58
+
59
+ The header:
60
+
61
+ <span class="detailedString"> !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;&quot; to lines/</span>
62
+ <span class="detailedString"> !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/</span>
63
+ <span class="detailedString"> !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/</span>
64
+ <span class="detailedString"> !_TAG_PROGRAM_NAME Exuberant Ctags //</span>
65
+ <span class="detailedString"> !_TAG_PROGRAM_URL <a href="http://ctags.sourceforge.net">http://ctags.sourceforge.net</a> /official site/</span>
66
+ <span class="detailedString"> !_TAG_PROGRAM_VERSION 5.9~svn20110310 //</span>
67
+
68
+
69
+ <span class="Title"># Understanding a single entry in the in the tag file</span>
70
+
71
+ <span class="detailedString"> &lt;&lt; padrino-core/lib/padrino-core/logger.rb /^ def &lt;&lt;(message = nil)$/;&quot; f</span>
72
+
73
+
74
+ <span class="Title"># Tag navigation commands</span>
75
+
76
+ <span class="Identifier">- </span><span class="detailedString">`&lt;C-]&gt;`</span> ... jump to a file
77
+ <span class="Identifier">- </span><span class="detailedString">`&lt;C-i/C-o&gt;`</span> ... move forward/back
78
+ <span class="Identifier">- </span><span class="detailedString">`:tag &lt;tagname&gt;`</span> ... search after the tagname
79
+ <span class="Identifier">- </span><span class="detailedString">`:tselect`</span> ... select the tag you want if matches are unambiguous
80
+ <span class="Identifier">- </span><span class="detailedString">`:tnext, :tprevious, :tfirst, :tlast`</span> ... left for you as an exercise
81
+
82
+
83
+ <span class="Title"># Comfort</span>
84
+
85
+ <span class="Identifier">- </span>use Autotags.vim <span class="Underlined"><a href="http://www.vim.org/scripts/script.php?script_id=1343">http://www.vim.org/scripts/script.php?script_id=1343</a></span> for tag update
86
+ <span class="Identifier">- </span>Ctrlp.vim <span class="Underlined"><a href="http://kien.github.io/ctrlp.vim/">http://kien.github.io/ctrlp.vim/</a></span> for fuzzy like tag search <span class="lv8c">(</span>better then <span class="detailedString">`:tselect`</span><span class="lv8c">)</span>
87
+
88
+
89
+ <span class="Title"># The End</span>
90
+
91
+ <span class="Identifier">- </span>Contact: Matthias Günther <span class="lv8c">(</span>@wikimatze<span class="lv8c">)</span>
92
+ <span class="Identifier">- </span>Homepage: <span class="Underlined"><a href="http://wikimatze.de">http://wikimatze.de</a></span>
93
+ <span class="Identifier">- </span>Book: <span class="Underlined"><a href="http://padrinobook.com">http://padrinobook.com</a></span>
94
+
95
+ </pre>
96
+ </body>
97
+ </html>
98
+ <!-- vim: set foldmethod=manual : -->
@@ -0,0 +1,157 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <html>
3
+ <head>
4
+ <link rel="Stylesheet" type="text/css" href="style.css">
5
+ <title>vimprofiling</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ </head>
8
+ <body>
9
+
10
+ <h1 id="toc_1">Profiling Vim</h1>
11
+
12
+ <h2 id="toc_1.1">what is vim doing? - start in verbose mode</h2>
13
+
14
+ <p>
15
+ <code>vim -V filename</code>
16
+ </p>
17
+
18
+ <p>
19
+ run vim with verbose 10 as default and write to messages
20
+ </p>
21
+
22
+ <p>
23
+ show with <code>:messages</code>
24
+ </p>
25
+
26
+ <h3 id="toc_1.1.1">verbosity level</h3>
27
+
28
+ <p>
29
+ <code>vim -V20/tmp/log filename</code>
30
+ </p>
31
+
32
+ <p>
33
+ save verbose 20 to filename <code>/tmp/log</code>
34
+ </p>
35
+
36
+ <p>
37
+ When bigger than zero, Vim will give messages about what it is doing.
38
+ Currently, these messages are given:
39
+ &gt;= 1 When the viminfo file is read or written.
40
+ &gt;= 2 When a file is ":source"'ed.
41
+ &gt;= 5 Every searched tags file and include file.
42
+ &gt;= 8 Files for which a group of autocommands is executed.
43
+ &gt;= 9 Every executed autocommand.
44
+ &gt;= 12 Every executed function.
45
+ &gt;= 13 When an exception is thrown, caught, finished, or discarded.
46
+ &gt;= 14 Anything pending in a ":finally" clause.
47
+ &gt;= 15 Every executed Ex command (truncated at 200 characters).
48
+ </p>
49
+
50
+
51
+ <p>
52
+ -&gt; but no timestamps
53
+ </p>
54
+
55
+ <h3 id="toc_1.1.2">change it on runtime</h3>
56
+
57
+ <pre vim>
58
+ set verbosefile=/tmp/verbose.log
59
+ set verbose=15
60
+ </pre>
61
+
62
+ <h2 id="toc_1.2">vim startup</h2>
63
+
64
+ <p>
65
+ only on 7.2.269 or later
66
+ </p>
67
+
68
+ <p>
69
+ <code>vim --startuptime /tmp/profile.log filename</code>
70
+ </p>
71
+
72
+
73
+ <h2 id="toc_1.3">vim has profile mode</h2>
74
+
75
+ <p>
76
+ <span class="todo">XXX:</span> needs vim to be compiled with <code>+profile</code> flag
77
+ </p>
78
+
79
+ <pre vim>
80
+ profile start /tmp/log
81
+ profile func *
82
+ profile file *
83
+ </pre>
84
+
85
+ <p>
86
+ -&gt; written on vim close
87
+ </p>
88
+
89
+ <p>
90
+ <code>vim --cmd 'profile start profile.log' --cmd 'profile func *' --cmd 'profile file *'</code>
91
+ </p>
92
+
93
+ <p>
94
+ notes from <code>help profile</code>:
95
+ </p>
96
+
97
+ <ul>
98
+ <li>
99
+ Profiling may give weird results on multi-processor systems, when sleep
100
+ mode kicks in or the processor frequency is reduced to save power.
101
+
102
+ </ul>
103
+
104
+ <ul>
105
+ <li>
106
+ The "self" time is wrong when a function is used recursively.
107
+
108
+ </ul>
109
+
110
+ <h2 id="toc_1.4">profile your syntax</h2>
111
+
112
+ <p>
113
+ only on 7.4
114
+ </p>
115
+
116
+ <p>
117
+ <span class="todo">XXX:</span> needs vim to be compiled with <code>+profile</code> flag
118
+ </p>
119
+
120
+ <p>
121
+ <code>:syntime on</code>
122
+ <code>:syntime report</code>
123
+ </p>
124
+
125
+ <h2 id="toc_1.5">insert timestamps</h2>
126
+
127
+ <p>
128
+ see: <a href="http://stackoverflow.com/questions/1687799/profiling-vim-startup-time">http://stackoverflow.com/questions/1687799/profiling-vim-startup-time</a>
129
+ </p>
130
+
131
+ <p>
132
+ <code>vim -V 2&gt; &gt;( ruby -n -e 'puts "#{Time.now.to_f}: #{$_}"' &gt; /tmp/profile.log )</code>
133
+ </p>
134
+
135
+ <p>
136
+ -&gt; only working at the beginning
137
+ tip is very old (2009) - maybe vim changed since then
138
+ </p>
139
+
140
+
141
+ <h3 id="toc_1.5.1">fifo</h3>
142
+
143
+ <p>
144
+ -&gt; work around: use fifo
145
+ -&gt; but vim closes the file
146
+ -&gt; use while loop
147
+ </p>
148
+
149
+ <pre sh>
150
+ mkfifo ./startuptime
151
+ vim -V./startuptime
152
+
153
+ while true; do cat startuptime | ruby -n -e 'puts "#{Time.now.to_f}: #{$_}"' &gt;&gt; /tmp/vilog2; done
154
+ </pre>
155
+
156
+ </body>
157
+ </html>