Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 59a2167bd6550c0006000005

multiple cursor alternative

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

Start file
<section class="top-bar-selection">
  <ul class="left">
    <li class="divider"></li>
    <li class="active">
      <a href="homepage.html">Page 1</a></li>
    <li class="divider"></li>
    <li>
      <a href="homepage.html">Page 2</a></li>
    <li class="divider"></li>
    <li>
      <a href="homepage.html">Page 3</a></li>
    <li class="divider"></li>
    <li>
      <a href="homepage.html">Page 4</a></li>
  </ul>
</section>
End file
<section class="top-bar-selection">
  <ul class="left">
    <li class="divider"></li>
    <li class="active">
      <a href="Page1.html">Page 1</a></li>
    <li class="divider"></li>
    <li>
      <a href="Page2.html">Page 2</a></li>
    <li class="divider"></li>
    <li>
      <a href="Page3.html">Page 3</a></li>
    <li class="divider"></li>
    <li>
      <a href="Page4.html">Page 4</a></li>
  </ul>
</section>

View Diff

5c5
<       <a href="homepage.html">Page 1</a></li>
---
>       <a href="Page1.html">Page 1</a></li>
8c8
<       <a href="homepage.html">Page 2</a></li>
---
>       <a href="Page2.html">Page 2</a></li>
11c11
<       <a href="homepage.html">Page 3</a></li>
---
>       <a href="Page3.html">Page 3</a></li>
14c14
<       <a href="homepage.html">Page 4</a></li>
---
>       <a href="Page4.html">Page 4</a></li>

Solutions by @MathijsHoogland:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @wyne

376 active golfers, 1474 entries

Solutions by @MathijsHoogland:
21
#208 - MathijsHoogland / @MathijsHoogland

12/28/2017 at 05:43PM

21
#>208 - MathijsHoogland / @MathijsHoogland

12/28/2017 at 05:56PM

22
#>225 - MathijsHoogland / @MathijsHoogland

12/28/2017 at 05:41PM

23
#>261 - MathijsHoogland / @MathijsHoogland

11/01/2017 at 06:21PM

23
#>262 - MathijsHoogland / @MathijsHoogland

12/28/2017 at 05:40PM

27
#>317 - MathijsHoogland / @MathijsHoogland

12/28/2017 at 05:22PM

64
#>374 - MathijsHoogland / @MathijsHoogland

11/01/2017 at 06:16PM

72
#>375 - MathijsHoogland / @MathijsHoogland

12/28/2017 at 04:50PM

79
#>375 - MathijsHoogland / @MathijsHoogland

12/28/2017 at 05:21PM