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 5518cd2bfb03aa1d9402a6a3

Fix the XML

The challenge consists in having a valid xml from an incomplete source.

Start file
End file

View Diff

<         <xml>hello
<         <files>files
>         <xml>hello</xml>
>         <files>files</files>
<         <xml>xml
<         <files>world
>         <xml>xml</xml>
>         <files>world</files>

Solutions by @mattpep:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @leo_luz

279 active golfers, 958 entries

Solutions by @mattpep:
#159 - mattp (part of the 💉💉💉 club) / @mattpep

05/17/2016 at 11:17AM

#>213 - mattp (part of the 💉💉💉 club) / @mattpep

05/16/2016 at 02:32PM