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

Solve the Sokoban

A wink for all Vimgolfers that play Nethack too.

Start file
-------- ------
|<|@...---....|
|^|-.00....0..|
|^||..00|.0.0.|
|^||....|.....|
|^|------0----|
|^|    |......|
|^------......|
|..^^^^0000...|
|??-----......|
----   --------
End file
-------- ------
|@|>...---....|
|.|-..........|
|.||..00|.....|
|.||....|.....|
|.|------.----|
|.|    |......|
|.------......|
|.............|
|..-----......|
----   --------

View Diff

2,10c2,10
< |<|@...---....|
< |^|-.00....0..|
< |^||..00|.0.0.|
< |^||....|.....|
< |^|------0----|
< |^|    |......|
< |^------......|
< |..^^^^0000...|
< |??-----......|
---
> |@|>...---....|
> |.|-..........|
> |.||..00|.....|
> |.||....|.....|
> |.|------.----|
> |.|    |......|
> |.------......|
> |.............|
> |..-----......|

Solutions by @GavinKoeng:

Unlock 12 remaining solutions by signing in and submitting your own entry
Created by: @0x00C0FFEE

76 active golfers, 202 entries

Solutions by @GavinKoeng:
25
#10 - Gavin / @GavinKoeng

07/14/2026 at 03:10PM

26
#>12 - Gavin / @GavinKoeng

07/14/2026 at 03:10PM

27
#>14 - Gavin / @GavinKoeng

07/14/2026 at 03:09PM

29
#>17 - Gavin / @GavinKoeng

07/14/2026 at 03:08PM

30
#>39 - Gavin / @GavinKoeng

07/14/2026 at 03:08PM

31
#>52 - Gavin / @GavinKoeng

07/14/2026 at 03:07PM

32
#>67 - Gavin / @GavinKoeng

07/14/2026 at 03:07PM

33
#>71 - Gavin / @GavinKoeng

07/14/2026 at 03:07PM

34
#>73 - Gavin / @GavinKoeng

07/14/2026 at 03:06PM

35
#>74 - Gavin / @GavinKoeng

07/14/2026 at 03:06PM

38
#>74 - Gavin / @GavinKoeng

07/14/2026 at 03:06PM

51
#>75 - Gavin / @GavinKoeng

07/14/2026 at 03:05PM