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 53159f5d33b3f800023aa880

Vim tetris

Vim can play tetris too!

Start file
|-------------------| Score: 0
|                   | Next:
|                   |   ##
|                   |   ##
|                   |
|                   |
|                   |
|     #             |
|     #             |
|     ##            |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|####   ############|
|  #################|
|###################|
|-------------------|
End file
|-------------------| Score: 1
|       ##          | Next:
|       ##          |   ##
|                   |  ##
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|                   |
|  #################|
|###################|
|-------------------|

View Diff

1,4c1,8
< |-------------------| Score: 0
< |                   | Next:
< |                   |   ##
< |                   |   ##
---
> |-------------------| Score: 1
> |       ##          | Next:
> |       ##          |   ##
> |                   |  ##
> |                   |
> |                   |
> |                   |
> |                   |
8,10d11
< |     #             |
< |     #             |
< |     ##            |
20d20
< |####   ############|

Solutions by @me_coot:

Unlock 13 remaining solutions by signing in and submitting your own entry
Created by: @hannesr

101 active golfers, 352 entries

Solutions by @me_coot:
21
#7 - Marcin Szamotulski / @me_coot

03/07/2014 at 06:38PM

22
#>25 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:41AM

22
#>25 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:44AM

22
#>25 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:45AM

22
#>25 - Marcin Szamotulski / @me_coot

03/07/2014 at 11:05AM

23
#>34 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:35AM

24
#>45 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:27AM

25
#>50 - Marcin Szamotulski / @me_coot

03/07/2014 at 06:33PM

27
#>58 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:22AM

27
#>58 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:23AM

27
#>58 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:25AM

29
#>70 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:17AM

30
#>77 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:16AM