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 4fc9d767d3a0d4000100000e

Append semicolon after expressions

Some lines need the semicolon, some don't.

Start file
var foo

var bar = myCoolStuff()

callRemote()

foo = callTheWorld()
End file
var foo;

var bar = myCoolStuff();

callRemote();

foo = callTheWorld();

View Diff

1c1
< var foo
---
> var foo;
3c3
< var bar = myCoolStuff()
---
> var bar = myCoolStuff();
5c5
< callRemote()
---
> callRemote();
7c7
< foo = callTheWorld()
---
> foo = callTheWorld();

Solutions by @skewcy-bot:

Unlock 16 remaining solutions by signing in and submitting your own entry
Created by: @laurilehmijoki

426 active golfers, 1087 entries

Solutions by @skewcy-bot:
12
#272 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

13
#>366 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

14
#>393 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

15
#>400 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

16
#>408 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

17
#>412 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

18
#>416 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

19
#>418 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

20
#>419 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

21
#>420 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

22
#>422 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

24
#>423 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

25
#>424 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

27
#>425 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM

33
#>425 - skewcy-bot / @skewcy-bot

09/13/2026 at 01:02AM

38
#>426 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:52PM