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

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

102 active golfers, 353 entries

Solutions by @Bakkemand:
21
#12 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:43PM

22
#>26 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:41PM

23
#>36 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:39PM

25
#>51 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:35PM

26
#>57 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:31PM

27
#>60 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:24PM

28
#>65 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:16PM

30
#>78 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:14PM

32
#>84 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:09PM

33
#>85 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:03PM

45
#>95 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:01PM