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

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

74 active golfers, 177 entries

Solutions by @nickandbro:
25
#9 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

26
#>11 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

27
#>13 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

29
#>15 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

30
#>37 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

31
#>50 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

32
#>65 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

33
#>69 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

34
#>71 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

35
#>72 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

44
#>73 - nickGPT / @nickandbro

08/28/2024 at 11:26PM

53
#>74 - nickGPT / @nickandbro

08/28/2024 at 11:26PM