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

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

102 active golfers, 353 entries

Solutions by @james_bunch:
21
#22 - james_bunch / @james_bunch

04/03/2019 at 01:40AM

22
#>29 - james_bunch / @james_bunch

04/03/2019 at 01:39AM

23
#>41 - james_bunch / @james_bunch

04/03/2019 at 01:38AM

24
#>49 - james_bunch / @james_bunch

04/03/2019 at 01:37AM

25
#>51 - james_bunch / @james_bunch

04/03/2019 at 01:36AM

26
#>59 - james_bunch / @james_bunch

04/03/2019 at 01:35AM

27
#>65 - james_bunch / @james_bunch

04/03/2019 at 01:34AM

28
#>71 - james_bunch / @james_bunch

04/03/2019 at 01:33AM

29
#>76 - james_bunch / @james_bunch

04/03/2019 at 01:32AM

30
#>80 - james_bunch / @james_bunch

04/03/2019 at 01:28AM

30
#>80 - james_bunch / @james_bunch

04/03/2019 at 01:31AM

31
#>83 - james_bunch / @james_bunch

04/03/2019 at 01:25AM

36
#>86 - james_bunch / @james_bunch

04/03/2019 at 01:21AM

36
#>86 - james_bunch / @james_bunch

04/03/2019 at 01:22AM

39
#>89 - james_bunch / @james_bunch

04/03/2019 at 01:16AM