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

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

102 active golfers, 353 entries

Solutions by @mihaicristiant:
21
#21 - Mihai / @mihaicristiant

03/01/2019 at 09:17AM

22
#>29 - Mihai / @mihaicristiant

03/01/2019 at 09:16AM

23
#>41 - Mihai / @mihaicristiant

03/01/2019 at 09:14AM

24
#>49 - Mihai / @mihaicristiant

03/01/2019 at 09:13AM

25
#>51 - Mihai / @mihaicristiant

03/01/2019 at 09:12AM

25
#>51 - Mihai / @mihaicristiant

03/01/2019 at 09:13AM

26
#>59 - Mihai / @mihaicristiant

03/01/2019 at 09:11AM

31
#>83 - Mihai / @mihaicristiant

03/01/2019 at 07:21AM

33
#>85 - Mihai / @mihaicristiant

03/01/2019 at 07:20AM

34
#>86 - Mihai / @mihaicristiant

03/01/2019 at 07:19AM

37
#>87 - Mihai / @mihaicristiant

03/01/2019 at 07:17AM

41
#>92 - Mihai / @mihaicristiant

03/01/2019 at 07:16AM