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

101 active golfers, 352 entries

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

03/15/2014 at 10:43PM

22
#>25 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:41PM

23
#>35 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:39PM

25
#>50 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:35PM

26
#>56 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:31PM

27
#>59 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:24PM

28
#>64 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:16PM

30
#>77 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:14PM

32
#>83 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:09PM

33
#>84 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:03PM

45
#>94 - Nick Bakkegaard / @Bakkemand

03/15/2014 at 10:01PM