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 @OlivierSwift:

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

279 active golfers, 958 entries

Solutions by @OlivierSwift:
#194 - Olivier Debon / @OlivierSwift

04/02/2015 at 01:23PM

#>244 - Olivier Debon / @OlivierSwift

04/02/2015 at 12:53PM