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 5d4384d8654b7b00065af0de

Song Transcription Oops

When transcribing vocal music to Canjo Tab you can start by finding the lowest note and assigning that to zero and working your way up from there. However, without fail, I tend to miscount the notes and when I am near done I find a lower note. I mark this with a "z". This means I have to increase all the previous ones by 1. just a sting of numbers :)

Start file
00024432210000024777
664444777642345401222
43210000122243210z0
End file
11135543321111135888
775555888753456512333
5432111123335432101

View Diff

1,3c1,3
< 00024432210000024777
< 664444777642345401222
< 43210000122243210z0
---
> 11135543321111135888
> 775555888753456512333
> 5432111123335432101

Solutions by @GavinKoeng:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @BradleySmall

80 active golfers, 255 entries

Solutions by @GavinKoeng:
15
#60 - Gavin / @GavinKoeng

02/04/2026 at 02:57AM

16
#>61 - Gavin / @GavinKoeng

02/04/2026 at 02:56AM

21
#>63 - Gavin / @GavinKoeng

02/04/2026 at 02:54AM

22
#>65 - Gavin / @GavinKoeng

02/04/2026 at 02:50AM

23
#>67 - Gavin / @GavinKoeng

02/04/2026 at 02:50AM

25
#>67 - Gavin / @GavinKoeng

02/04/2026 at 02:47AM

26
#>67 - Gavin / @GavinKoeng

02/04/2026 at 02:47AM

31
#>73 - Gavin / @GavinKoeng

02/04/2026 at 02:46AM

33
#>74 - Gavin / @GavinKoeng

02/04/2026 at 02:46AM

34
#>75 - Gavin / @GavinKoeng

02/04/2026 at 02:45AM

36
#>80 - Gavin / @GavinKoeng

02/04/2026 at 02:43AM