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

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

101 active golfers, 352 entries

Solutions by @ghues:
21
#13 - Greg Hues / @ghues

03/27/2014 at 01:55AM

21
#>13 - Greg Hues / @ghues

03/27/2014 at 01:56AM

23
#>35 - Greg Hues / @ghues

03/27/2014 at 01:54AM

24
#>46 - Greg Hues / @ghues

03/27/2014 at 01:53AM

26
#>57 - Greg Hues / @ghues

03/27/2014 at 01:51AM

30
#>78 - Greg Hues / @ghues

03/27/2014 at 01:49AM