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 71 remaining solutions by signing in and submitting your own entry
#72 Young-Hoon Song / odjfnrtm - Score: 31 - 03/09/14 @ 05:33
<C-A>08lj<C-V>ljr#6/#<CR>X2n<C-V>jjlr nvt|r ZZ

0 comments

#73 kAworu / only4vimgolf - Score: 31 - 03/12/14 @ 11:27
$<C-A>3jhhx2G8l<C-V>jlr#4Gl<C-V>20Gt|r :wq<CR>

0 comments

#74 Carlos A Henríquez Q / lagunex - Score: 31 - 01/18/15 @ 21:49
<C-A>9|j<C-V>ljr#10wX8w<C-V>jjlr /#<CR>vt|r ZZ

0 comments

#75 RobertT / techrt2050 - Score: 32 - 03/12/14 @ 04:17
$<C-A>qqj9|R##<Esc>q@q**X/#<CR>qqnr q19@qZZ

0 comments

#76 Paul / MapCalculator - Score: 32 - 06/23/15 @ 00:24
<C-A>qqj9|R##<Esc>q@q/#<CR>jhxjn3ddY4pnddZZ

0 comments

#77 Peter Lacey-Bordeaux / placeybordeaux - Score: 34 - 03/05/14 @ 18:58
$r1j9|<C-V>jlr#jjwwhx:7,20s/#/ /g<CR>:wq<CR>

0 comments

#78 Bart / oneofmanybarts - Score: 38 - 03/10/14 @ 14:27
<C-A>j18h<C-V>jlr#$2jF x4jF#<C-V>l2jr 12jT|vt|r ZZ

0 comments

#79 Kevin Gillieron / gilliek42 - Score: 40 - 03/12/14 @ 12:27
$r1<Esc>2G8l<C-V>jlr#4G$bhx8Gw<C-V>jjlr 20Glv$hhr ZZ

0 comments

#80 Gerald Tilma / GeraldTilma - Score: 41 - 10/21/15 @ 02:22
$r12G8lvlr#j.jwlx8Gwr j.jvlr 20Glv$hhr ZZ

0 comments

#81 w1zeman1p / wizemanip - Score: 44 - 05/11/14 @ 04:27
$<C-A>jj<C-V>jhhyk08l<C-V>jlp6j<C-V>jhjhr 12jddkyyp16kf#hxZZ

0 comments

#82 Ben Spoor / bpspoor - Score: 44 - 06/25/14 @ 04:23
f0r1j08lR##<Esc>jh.f#ji <BS><BS><Esc>qqq/#<CR>nn<Esc>qqr nq19@qZZ

0 comments

#83 Leif Bladt / leifbladt - Score: 45 - 03/05/14 @ 15:07
f0r1j^8l2r#jh.jwlxj/#<CR>r n.n.n.nrt|#4r w12r ZZ

0 comments

#84 Dmitry Teslenko / krab_mozga - Score: 54 - 04/04/14 @ 06:57
f0r14jk$xhr#13h2h2kr#l.jh.l.8j3kbr j.j.l.10jBl19R <Esc>jZZ

0 comments

#85 Barry Nichols / Barry_Nichols - Score: 63 - 03/12/14 @ 01:13
<Down>8<Right>i##<Esc><Right>xx<Down><Left><Left>i##<Right><Esc>xx<End>2<Up>r13<Down>2<Left>x8G5<Right><Right><C-V><Down><Down><Right>:<Up>s/#/ /g<CR>20G:<Up><Home><Del><Del><Del><Del><Del><CR>ZZ

0 comments

#86 Formally Dallin / FormallyDallin - Score: 66 - 03/24/15 @ 22:03
:8,10s/#/ /g<CR>:20s/#/ /g<CR>:2<CR><Right><Right><Right><Right><Right><Right><Right><Right>i#<Esc>ur#<Right>r#<Down>r#<Left>r#<Up><Up>A<BS>1<Esc>:4<CR>wwi<BS><Esc>ZZ

0 comments

#87 Mattias Fransson / azzidoos - Score: 68 - 09/09/14 @ 10:05
<C-A>j|9|r#j.l.k.jjf#hx/<Esc><Esc>j/#<CR>xnxuur n.n.n.nvt|R|                   |<Esc>ZZ

0 comments

#88 高橋亮 / RyoYado - Score: 166 - 11/11/14 @ 12:53
<C-A>3<Esc><Esc>20hj<C-V>lj#<Esc><Esc>kklllllllllllllllllll<Esc><Esc><Esc>jllllllllljjhhhhhhhhhhhhhhhhhlkkkkkkkllllllllllllllllllllllllll20hj<C-V>jhr#10wi<BS><Esc>8GlV<Esc><Esc><C-V>jjl<Esc><Esc>kk<C-V>20G<Esc><Esc><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Down><Down>l<C-V>20G20|r zzZZ

0 comments

#89 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

89 active golfers, 291 entries

Leaderboard (lowest score wins):
21
#1 - Urtica dioica / udioica

03/04/2014 at 08:16PM

21
#2 - MP / Enemy_m

03/04/2014 at 09:02PM

21
#3 - Kerson Hsiao / KersonHsiao

03/05/2014 at 02:25AM

21
#4 - Geraint Hywel / g_mawr

03/05/2014 at 06:02PM

21
#5 - N / Neo7891

03/06/2014 at 04:02PM

21
#6 - Bill Gates / BillGat80055899

03/07/2014 at 04:32PM

21
#7 - Marcin Sza / coot_

03/07/2014 at 06:38PM

21
#8 - Petro Тrouq / zulolosi

03/09/2014 at 11:59PM

21
#9 - Jason Don O'Conal / lovek323

03/12/2014 at 05:16AM

21
#10 - Matthew Kirk / mjkirk

03/13/2014 at 03:50PM

21
#11 - John Braxler / braxler

03/13/2014 at 09:12PM

21
#12 - Nick Bakkegaard / Bakkemand

03/15/2014 at 10:43PM

21
#13 - Greg Hues / ghues

03/27/2014 at 01:55AM

21
#14 - kiho choi / ArtStandAlone

04/23/2014 at 12:34PM

21
#15 - Kane Wallmann / ToCsIcK

04/27/2014 at 10:22AM

21
#16 - Vito / GodFather

07/07/2014 at 04:11AM

21
#17 - Lasse Dalegaard / ldalegaard

07/07/2014 at 09:37PM

21
#18 - Michael Comerford / MComerford1

09/20/2014 at 07:49PM

21
#19 - Jon Krause / jkrause314

12/29/2015 at 05:03AM

22
#20 - Sntano Euhsk / SEuhsk

06/16/2014 at 03:17AM

22
#21 - John Meisner / jmeisned

06/25/2014 at 07:52PM

22
#22 - Matthieu Crapet / mcr05

12/29/2014 at 02:31PM

23
#23 - Marcin Cabaj / marcincabaj

03/04/2014 at 06:55PM

23
#24 - Milind Ganjoo / mganjoo

03/04/2014 at 07:45PM

23
#25 - William Snyders / iam2391212

03/04/2014 at 08:25PM

23
#26 - John Gray Cole / johngraycole

03/05/2014 at 02:27AM

23
#27 - Marchand Paul-Valère / pvmarch

03/05/2014 at 02:26PM

23
#28 - Domingue Justin / _jdomingue

03/06/2014 at 03:18AM

23
#29 - Nathan / NathanHarperoni

03/09/2014 at 04:23PM

23
#30 - Jeff / just_geophree

03/29/2014 at 03:29AM

23
#31 - Juan Luis / rufianw

07/03/2014 at 03:01AM

23
#32 - Michi Loro / michiloro

07/16/2014 at 09:36AM

23
#33 - emblox / emblox

02/29/2016 at 05:54AM

23
#34 - Dimitar Dimitrov / kurkale6ka

03/22/2016 at 11:26AM

24
#35 - Thomas GUILLORY / thomasguillory

03/04/2014 at 12:15PM

24
#36 - oliver mueller / marcontwit

03/04/2014 at 08:28PM

24
#37 - Tim Green / iamtimgreen

03/05/2014 at 01:02AM

24
#38 - Jack Jacquemmoz / MozJack

03/05/2014 at 09:38AM

24
#39 - Pedro Santos / pedrosans

03/05/2014 at 04:36PM

24
#40 - Romain Knezevic / rkjdid

03/08/2014 at 12:12PM

24
#41 - BurntBrainSoup / BurntBrainSoup

04/16/2014 at 12:16AM

24
#42 - Adrian Bradd / keepab

07/04/2014 at 02:21PM

25
#43 - Hannes Remahl / hannesr

03/04/2014 at 03:09PM

25
#44 - Aleksandr Block / AleksandrBlock

03/04/2014 at 06:56PM

26
#45 - Robert Siemieniec / rsiemieniec

03/04/2014 at 12:34PM

26
#46 - Daniel Lundin / danielundin

03/05/2014 at 02:34PM

26
#47 - Peter Piekarczyk / ppskeet

03/06/2014 at 05:38AM

26
#48 - Jean / ygu0_0

03/10/2014 at 01:30AM

26
#49 - Graham Batty / stormbrew

03/13/2014 at 07:40AM

26
#50 - Stephen Drodge / sjdrodge

03/15/2014 at 09:19PM

26
#51 - Jacob / jayekub

03/23/2014 at 12:18AM

27
#52 - cj / cj01101

03/07/2014 at 11:08PM

27
#53 - Brandor / Brandombot

03/26/2014 at 11:11PM

27
#54 - Ram Tamtam / ramtamtamtam

06/29/2014 at 07:53PM

27
#55 - playalong / playwithit42

07/08/2014 at 12:06PM

27
#56 - iamevn / iamevn

07/08/2014 at 04:52PM

27
#57 - Chenut Ludovic / 7Brwa7

04/08/2016 at 09:08AM

28
#58 - 闇を切り裂く非線形システム少女ところたん / tokoro10g

04/06/2014 at 01:53PM

28
#59 - David Shields / salacio

04/22/2014 at 08:41PM

28
#60 - ~blob8108 / blob8108

04/28/2014 at 12:03PM

28
#61 - Cristian Lupașcu / clupasq

02/23/2016 at 04:20AM

28
#62 - tPenguinLTG / tpenguinltg

05/01/2016 at 09:19PM

28
#63 - Gurukandhamoorthi / Gurukandhamoor1

07/24/2017 at 03:53PM

29
#64 - Bambu / bambumandinga

04/03/2014 at 11:36PM

29
#65 - zhuochun / zhuochun

04/14/2014 at 07:33AM

29
#66 - 土ヤ / ttsuchiya

04/25/2014 at 05:01AM

29
#67 - Oleg Tsymbalyuk / oleg_tc

05/28/2014 at 12:04PM

29
#68 - some call me mattp / mattpep

05/12/2016 at 11:46PM

30
#69 - Jared Meyering / Jmeyering

03/05/2014 at 10:46PM

30
#70 - brett / brettyukich

03/20/2014 at 11:30PM

30
#71 - Chaitanya Desu / ChaituNu

05/04/2014 at 06:17AM

31
#72 - Young-Hoon Song / odjfnrtm

03/09/2014 at 05:33AM

31
#73 - kAworu / only4vimgolf

03/12/2014 at 11:27AM

31
#74 - Carlos A Henríquez Q / lagunex

01/18/2015 at 09:49PM

32
#75 - RobertT / techrt2050

03/12/2014 at 04:17AM

32
#76 - Paul / MapCalculator

06/23/2015 at 12:24AM

34
#77 - Peter Lacey-Bordeaux / placeybordeaux

03/05/2014 at 06:58PM

38
#78 - Bart / oneofmanybarts

03/10/2014 at 02:27PM

40
#79 - Kevin Gillieron / gilliek42

03/12/2014 at 12:27PM

41
#80 - Gerald Tilma / GeraldTilma

10/21/2015 at 02:22AM

44
#81 - w1zeman1p / wizemanip

05/11/2014 at 04:27AM

44
#82 - Ben Spoor / bpspoor

06/25/2014 at 04:23AM

45
#83 - Leif Bladt / leifbladt

03/05/2014 at 03:07PM

54
#84 - Dmitry Teslenko / krab_mozga

04/04/2014 at 06:57AM

63
#85 - Barry Nichols / Barry_Nichols

03/12/2014 at 01:13AM

66
#86 - Formally Dallin / FormallyDallin

03/24/2015 at 10:03PM

68
#87 - Mattias Fransson / azzidoos

09/09/2014 at 10:05AM

166
#88 - 高橋亮 / RyoYado

11/11/2014 at 12:53PM

258
#89 - Rafał Solarski / solarskirafal

04/17/2014 at 10:40PM