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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 102 remaining solutions by signing in and submitting your own entry
#103 Rafał Solarski / @solarskirafal - Score: 258 - 04/17/14 @ 22:40
lllkkkklhhhjjjjjjjjkkkjhjjhhhgglllllkjjjkkkjjjjjjjjjjjjjjjjjjjhhhhzkkjxxxxxxxxxxxxxxxxxxx jkka                   <Esc>jhhhhjkkkkkkkkkkkkkkhhhhhhhhhxjxjxxi  <Esc>ki <Esc>jkki <Esc>jhjjjjjhhkkklkkkkkkkkkggjkjllllllla##<Del><Del><Esc>hji##<Del><Del><Esc>jkkjjlllllllllllllllhxjkkkkllllllr1<Esc>:q<CR>::w<CR><CR>:q<CR>

0 comments


Created by: @hannesr

103 active golfers, 364 entries

Leaderboard (lowest score wins):
27
#61 - cj / @cj01101

03/07/2014 at 11:08PM

27
#62 - Brandor / @Brandombot

03/26/2014 at 11:11PM

27
#63 - Ram Tamtam / @ramtamtamtam

06/29/2014 at 07:53PM

27
#64 - playalong / @playwithit42

07/08/2014 at 12:06PM

27
#65 - iamevn / @iamevn

07/08/2014 at 04:52PM

27
#66 - Chenut Ludovic / @7Brwa7

04/08/2016 at 09:08AM

28
#67 - ところたん / @tokoro10g

04/06/2014 at 01:53PM

28
#68 - David Shields / @salacio

04/22/2014 at 08:41PM

28
#69 - ~blob8108 / @blob8108

04/28/2014 at 12:03PM

28
#70 - Cristian Lupașcu / @clupasq

02/23/2016 at 04:20AM

28
#71 - tPenguinLTG / @tpenguinltg

05/01/2016 at 09:19PM

28
#72 - Gurukandhamoorthi / @Gurukandhamoor1

07/24/2017 at 03:53PM

29
#73 - Bambu / @bambumandinga

04/03/2014 at 11:36PM

29
#74 - zhuochun / @zhuochun

04/14/2014 at 07:33AM

29
#75 - 土ヤ / @ttsuchiya

04/25/2014 at 05:01AM

29
#76 - Oleg Tsymbalyuk / @oleg_tc

05/28/2014 at 12:04PM

29
#77 - mattp (part of the 💉💉💉 club) / @mattpep

05/12/2016 at 11:46PM

29
#78 - x03n046 / @x03n046

05/23/2022 at 04:29AM

30
#79 - Jared Meyering / @Jmeyering

03/05/2014 at 10:46PM

30
#80 - brett / @brettyukich

03/20/2014 at 11:30PM

30
#81 - Chaitanya Desu / @ChaituNu

05/04/2014 at 06:17AM

31
#82 - 영훈 / @odjfnrtm

03/09/2014 at 05:33AM

31
#83 - kAworu / @only4vimgolf

03/12/2014 at 11:27AM

31
#84 - Carlos A Henríquez Q / @lagunex

01/18/2015 at 09:49PM

32
#85 - RobertT / @techrt2050

03/12/2014 at 04:17AM

32
#86 - Paul / @MapCalculator

06/23/2015 at 12:24AM

34
#87 - Peter Lacey-Bordeaux / @placeybordeaux

03/05/2014 at 06:58PM

36
#88 - Hugh / @deeoh22

12/08/2022 at 08:05PM

38
#89 - Bart / @oneofmanybarts

03/10/2014 at 02:27PM

39
#90 - Hugo / @szeyattai

08/20/2018 at 08:56AM