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 53c66c482b4166000226bbee

Don't know what this is

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

Start file
[1:0]
[0:1]
[1:100]
[0:100]
End file
[   ]
[   ]
[     ]
[     ]

View Diff

1,4c1,4
< [1:0]
< [0:1]
< [1:100]
< [0:100]
---
> [   ]
> [   ]
> [     ]
> [     ]

Solutions by @YannMoisan:

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

585 active golfers, 2022 entries

Solutions by @YannMoisan:
11
#4 - Yann Moisan / @YannMoisan

07/17/2014 at 10:43PM

12
#>147 - Yann Moisan / @YannMoisan

07/17/2014 at 10:41PM

14
#>281 - Yann Moisan / @YannMoisan

07/17/2014 at 10:40PM

16
#>424 - Yann Moisan / @YannMoisan

07/17/2014 at 10:37PM

20
#>573 - Yann Moisan / @YannMoisan

07/17/2014 at 10:33PM

21
#>574 - Yann Moisan / @YannMoisan

07/17/2014 at 10:31PM

22
#>576 - Yann Moisan / @YannMoisan

07/17/2014 at 10:33PM

36
#>581 - Yann Moisan / @YannMoisan

07/17/2014 at 10:30PM

128
#>585 - Yann Moisan / @YannMoisan

07/17/2014 at 10:37PM