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

102 active golfers, 353 entries

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

03/07/2014 at 06:38PM

22
#>26 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:41AM

22
#>26 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:44AM

22
#>26 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:45AM

22
#>26 - Marcin Szamotulski / @me_coot

03/07/2014 at 11:05AM

23
#>35 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:35AM

24
#>46 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:27AM

25
#>51 - Marcin Szamotulski / @me_coot

03/07/2014 at 06:33PM

27
#>59 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:22AM

27
#>59 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:23AM

27
#>59 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:25AM

29
#>71 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:17AM

30
#>78 - Marcin Szamotulski / @me_coot

03/07/2014 at 10:16AM