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

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

273 active golfers, 934 entries

Solutions by @bdotdub:
#253 - Benny Wong / @bdotdub

04/02/2015 at 05:47PM

#>259 - Benny Wong / @bdotdub

04/02/2015 at 05:43PM