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

585 active golfers, 2022 entries

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

04/01/2020 at 03:03AM

13
#>274 - floyd / @floyd10086

04/01/2020 at 03:01AM

13
#>274 - floyd / @floyd10086

04/01/2020 at 03:02AM

14
#>375 - floyd / @floyd10086

04/01/2020 at 03:00AM

15
#>418 - floyd / @floyd10086

04/01/2020 at 02:59AM

15
#>418 - floyd / @floyd10086

04/01/2020 at 03:00AM

16
#>538 - floyd / @floyd10086

04/01/2020 at 02:58AM

19
#>573 - floyd / @floyd10086

03/31/2020 at 07:13AM

20
#>574 - floyd / @floyd10086

03/31/2020 at 07:14AM