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

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

578 active golfers, 1978 entries

Solutions by @floyd10086:
12
#230 - floyd / @floyd10086

04/01/2020 at 03:03AM

13
#>270 - floyd / @floyd10086

04/01/2020 at 03:01AM

13
#>270 - floyd / @floyd10086

04/01/2020 at 03:02AM

14
#>371 - floyd / @floyd10086

04/01/2020 at 03:00AM

15
#>413 - floyd / @floyd10086

04/01/2020 at 02:59AM

15
#>413 - floyd / @floyd10086

04/01/2020 at 03:00AM

16
#>533 - floyd / @floyd10086

04/01/2020 at 02:58AM

19
#>566 - floyd / @floyd10086

03/31/2020 at 07:13AM

20
#>567 - floyd / @floyd10086

03/31/2020 at 07:14AM