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

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

101 active golfers, 352 entries

Solutions by @foobar01123:
21
#24 - Miłosz Łakomy / @foobar01123

04/03/2020 at 04:12PM

22
#>28 - Miłosz Łakomy / @foobar01123

04/02/2020 at 02:03PM

23
#>40 - Miłosz Łakomy / @foobar01123

04/01/2020 at 07:13AM

24
#>48 - Miłosz Łakomy / @foobar01123

03/31/2020 at 11:37AM

25
#>50 - Miłosz Łakomy / @foobar01123

03/30/2020 at 04:39AM

26
#>58 - Miłosz Łakomy / @foobar01123

03/29/2020 at 03:49AM

26
#>58 - Miłosz Łakomy / @foobar01123

03/31/2020 at 11:36AM