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

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

102 active golfers, 353 entries

Solutions by @g_mawr:
21
#4 - Geraint Hywel / @g_mawr

03/05/2014 at 06:02PM

22
#>26 - Geraint Hywel / @g_mawr

03/05/2014 at 05:56PM

23
#>34 - Geraint Hywel / @g_mawr

03/05/2014 at 05:55PM

25
#>51 - Geraint Hywel / @g_mawr

03/05/2014 at 05:51PM

27
#>59 - Geraint Hywel / @g_mawr

03/05/2014 at 05:47PM

29
#>71 - Geraint Hywel / @g_mawr

03/05/2014 at 05:44PM

31
#>80 - Geraint Hywel / @g_mawr

03/05/2014 at 05:40PM