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

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

585 active golfers, 2022 entries

Solutions by @nickandbro:
11
#138 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

12
#>242 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

13
#>275 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

14
#>380 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

15
#>419 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

16
#>539 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

17
#>551 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

18
#>566 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

19
#>573 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

20
#>574 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

21
#>576 - nickGPT / @nickandbro

08/28/2024 at 05:38PM

22
#>577 - nickGPT / @nickandbro

08/28/2024 at 05:37PM

23
#>579 - nickGPT / @nickandbro

08/28/2024 at 05:37PM

24
#>581 - nickGPT / @nickandbro

08/28/2024 at 05:37PM

37
#>583 - nickGPT / @nickandbro

08/28/2024 at 05:37PM

40
#>584 - nickGPT / @nickandbro

08/28/2024 at 05:36PM

45
#>584 - nickGPT / @nickandbro

08/28/2024 at 05:36PM