Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 50af864132b7ed0002000075

A simple change

Just change the numbers in the most efficient way ...

Start file
1024 2048 3072 4096 5120
6144 7168 8192 9216
End file
2048 3072 4096 5120 6144
7168 8192 9216 10240

View Diff

1,2c1,2
< 1024 2048 3072 4096 5120
< 6144 7168 8192 9216
---
> 2048 3072 4096 5120 6144
> 7168 8192 9216 10240

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 98 remaining solutions by signing in and submitting your own entry
#99 Ryan Patterson / @CGamesPlay - Score: 16 - 12/28/12 @ 12:15
dWJEa<CR><Esc>A <C-R>-<BS>0<Esc>ZZ

0 comments

#100 Tetsuya Matsuyama / @m_tetsuya - Score: 16 - 12/30/12 @ 05:11
dw$Jelr<CR>A <Esc>pr0ZZ

0 comments

#101 jared miller / @jared_vim - Score: 16 - 03/02/13 @ 15:28
dwJA 0<Esc>PxF7hr<CR>ZZ

0 comments

#102 Jordan Owens / @signalhandler - Score: 16 - 12/09/13 @ 10:28
dwJf i<CR><Esc>A <Esc>pr0ZZ

0 comments

#103 Arun / @UArunKumar - Score: 17 - 12/04/12 @ 12:31
dwJf i<CR><Esc>A <C-R>-<BS>0<Esc>ZZ

0 comments

#104 Bart of Denver / @bartofdenver - Score: 17 - 08/12/13 @ 19:18
dwJf i<CR><C-O>$ <C-R>"<BS>0<Esc>ZZ

0 comments

#105 engy / @engydmw - Score: 17 - 09/24/13 @ 14:33
dwJf r<CR>A 10240<Esc>ZZ

0 comments

#106 Phil / @ischi - Score: 18 - 12/10/12 @ 00:29
dwJf r<CR>$pr04hi <Esc>ZZ

0 comments

#107 Fontaine Kévin / @DotSlash974 - Score: 18 - 08/31/13 @ 10:14
dwJf r<CR>$pr0F1i <Esc>ZZ

0 comments

#108 Scott Myц / @ScottMuc - Score: 19 - 04/24/13 @ 23:27
"adwJEa<CR><Esc>A <Esc>pa<BS>0<Esc>ZZ

0 comments

#109 charadeyouare / @charadeyouare - Score: 20 - 05/28/13 @ 14:36
jf s<CR><Esc>kkdwJja <Esc>pr0ZZ

0 comments

#110 Ravi S Sinha / @ambidextrousTx - Score: 21 - 11/23/12 @ 09:06
daWjA <C-R>"<BS>0<Esc>kJwwi<BS><CR><Esc>ZZ

0 comments

#111 Mattia Gheda / @ghedamat - Score: 22 - 11/23/12 @ 15:36
dwJeli<CR><Esc>$a <Esc>pi0<Esc>lx:wq<CR>

0 comments

#112 Joshua Travis / @jktravis - Score: 22 - 11/24/12 @ 11:26
dwjA <Esc>pA<BS>0<Esc>0dwkA <Esc>pxZZ

0 comments

#113 Peter Esselius / @esselius - Score: 22 - 02/19/13 @ 08:26
dwJeli<CR><Esc>$a <Esc>pi0<Esc>lx:wq<CR>

0 comments

#114 Bjorn / @bjorn_248 - Score: 22 - 11/15/13 @ 11:58
qqcw<C-R>=<C-R>"+1024<CR><Esc>wq8@qZZ

0 comments

#115 Tj / @yrddy - Score: 23 - 08/19/14 @ 04:50
qacw<C-R>=<C-R>"+1024<CR><C-C><C-C>wq8@aZZ

0 comments

#116 Michaël M. / @asenar - Score: 24 - 11/25/12 @ 06:36
cw<Del><Esc>A<Del> <Esc>wwi<BS><CR><Esc>A <Esc>pA0<Esc><End>ZZ

0 comments

#117 A R / @arusso23 - Score: 24 - 12/22/12 @ 00:28
dawjA <Esc>pr0^dawkA <Esc>px:wq<CR>

0 comments

#118 Pradeep Kumar / @pradeep6kumar - Score: 28 - 12/10/12 @ 08:03
dawjA <Esc>pi0<Esc>lx^dawkA <Esc>p<Esc>x:wq<CR>

0 comments

#119 Sebastian Heil / @sebokopter - Score: 34 - 11/23/12 @ 13:59
qq<C-A>uuuuuuqqq1024q<C-A>uuqq1024<C-A>wq8@qZZ

0 comments

#120 FocusandBlur / @focusandblur - Score: 41 - 03/23/14 @ 13:51
dwggG$a <Esc>pa0<BS><BS>0<Esc>llkj^dwk$a <Esc>pdl<Esc>;wq<CR><Esc>:wq<CR>

0 comments

#121 Charlene Tshos / @charlymul - Score: 43 - 04/10/13 @ 01:12
JE<CR><Right><CR>i<CR><Esc><Up>5xj$a<Esc>pi0<Left><Left><Left><Left><Left> <Right><Right><Right><Right><Right><Esc><Right>x<Up><Right><Right><Right><Right><Right><Esc>:wq<CR>

0 comments

#122 최용철 Charles Choi / @cycorld - Score: 169 - 04/06/13 @ 08:17
lllllllllllllllllllllllllllllllhhhhhhhhhhhhhhhhhhhhhhhhhhhvllldj$pi<Right>0<Left><Left><Left><Left><Left> <Up><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><BS><Down><Esc>v<Right><Right><Right>d<Up><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>a<Esc><Right>p<Left><Left><Left>i <Down><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><BS><Esc>:wq<CR>

0 comments

#123 Ben Ogorek / @baogorek - Score: 308 - 04/11/13 @ 10:29
<C-A><C-A><C-X><C-X>:function mut<BS>ltByTwo (x)<CR><BS><BS>:MultBy<BS><BS><BS><BS><BS><BS><BS><BS><BS>:Function<BS><BS><BS><BS><BS><BS><BS><BS>function MultByTwo (x)<CR>return 2*x<CR><BS>endfunction<CR>:Muy<BS>ltByTwo<CR>:"<BS>call MultByTwo<CR><Up>:call MultByTwo(1025<BS>4)<CR><CR>i2048<Esc>x<Left><Left><Left>xxxxxxxx<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right> hlkllllllllllllllllllllli <BS>;<BS><Esc>wbei <BS><Esc>eo<BS> 6144<Esc>jhhhhhhhhhhhhhhhhhhxxxxxllllllllllllllllo<BS> 10240<Esc>:x<CR>

0 comments

Created by: @coot_

123 active golfers, 263 entries

Leaderboard (lowest score wins):
12
#1 - Marcin Sza / @coot_

11/23/2012 at 07:20AM

12
#2 - Kerson Hsiao / @KersonHsiao

11/23/2012 at 08:52AM

12
#3 - Tim Chase / @gumnos

11/23/2012 at 09:07AM

12
#4 - Conner McDaniel / @connermcd

11/23/2012 at 12:37PM

12
#5 - Urtica dioica / @udioica

11/23/2012 at 01:20PM

12
#6 - marmelad / @jordgubbssylt

11/24/2012 at 04:34PM

12
#7 - Jordan Eldredge / @captbaritone

12/01/2012 at 12:37AM

12
#8 - Daniel Baldwin / @danielcbaldwin

12/26/2012 at 10:57AM

12
#9 - Tony Locke / @t_locke

01/01/2013 at 06:25AM

12
#10 - Trevor Powell / @DoomedBunnies

03/19/2013 at 07:09PM

12
#11 - Chase Stubblefield / @sterlingchase

04/30/2013 at 01:46AM

12
#12 - Petro Тrouq / @zulolosi

05/11/2013 at 03:34PM

12
#13 - Marco Hinz / @_mhinz_

05/15/2013 at 11:19AM

12
#14 - Bradd Szonye / @bszonye

07/13/2013 at 06:11AM

12
#15 - Ingo / @ist3fani

07/31/2013 at 02:06AM

12
#16 - brett / @brettyukich

09/21/2013 at 09:30PM

12
#17 - Yann Moisan / @YannMoisan

01/03/2014 at 12:43PM

12
#18 - Romain Knezevic / @rkjdid

01/18/2014 at 04:33PM

12
#19 - Ben Lambeth / @azy2_ben

02/13/2014 at 11:10AM

12
#20 - Xelrifos / @Xelrifos

02/21/2014 at 10:44AM

12
#21 - kiho choi / @ArtStandAlone

04/13/2014 at 04:35PM

12
#22 - John Braxler / @braxler

04/17/2014 at 04:54AM

12
#23 - Caek / @Caek_

09/09/2014 at 06:11PM

12
#24 - Johannes H. / @neVexa

09/23/2014 at 08:58AM

14
#25 - a24f0600 / @a24f0600

11/23/2012 at 06:27AM

14
#26 - h_east (DDD ready) / @h_east

11/23/2012 at 06:49AM

14
#27 - Pawel Obrok / @mrYapee

11/23/2012 at 11:31AM

14
#28 - SpiroX / @SpiroX

11/23/2012 at 11:47AM

14
#29 - Pete Johns / @johnsyweb

11/23/2012 at 01:12PM

14
#30 - Aniket Schneider / @shaydwyrm

11/23/2012 at 05:45PM

14
#31 - Mattiassich Ákos / @mattiassicha

11/24/2012 at 04:34AM

14
#32 - Max Sherman / @johnislarry

11/25/2012 at 01:32AM

14
#33 - Nathan / @boysetsfrog

11/25/2012 at 04:47AM

14
#34 - Vasil Sakarov / @vsakarov

11/25/2012 at 01:07PM

14
#35 - Oh fear / @ohfear_num

11/25/2012 at 03:40PM

14
#36 - Daniel Lundin / @danielundin

11/26/2012 at 12:34AM

14
#37 - Chris / @ciwchris

11/26/2012 at 08:23PM

14
#38 - taylorka / @taylorka

11/30/2012 at 08:19AM

14
#39 - Michael / @mjs2600

12/02/2012 at 12:38PM

14
#40 - DR / @dde81

12/03/2012 at 06:40PM

14
#41 - jDeveloper / @jDevEE

12/04/2012 at 01:55PM

14
#42 - Ray Lehtiniemi / @rayll

12/09/2012 at 03:05AM

14
#43 - Kudryavtsev Alexandr / @kudryav_a

12/11/2012 at 11:22AM

14
#44 - Édouard M'tou / @DouardM

12/19/2012 at 12:04PM

14
#45 - Lari / @larifariman

12/27/2012 at 04:43PM

14
#46 - Alec Goebel / @zego5360

01/04/2013 at 01:09AM

14
#47 - Alexander Borysov / @ab99c5e2

01/15/2013 at 09:18PM

14
#48 - martha / @hellomartha

01/17/2013 at 06:57AM

14
#49 - Radosław Majewski / @radomaj

01/22/2013 at 07:53AM

14
#50 - Marcin Radomski / @_dextero

01/22/2013 at 09:25AM

14
#51 - N / @nymph192

02/11/2013 at 11:51AM

14
#52 - Steven Herbst / @transistorman

02/24/2013 at 04:50PM

14
#53 - Jason Graham / @jason__graham

03/02/2013 at 04:26PM

14
#54 - Tyler / @tylerbindon

04/02/2013 at 09:56PM

14
#55 - David Yan / @david_yan

04/18/2013 at 01:02PM

14
#56 - fake Jon Lorusso / @jonlorusso

04/26/2013 at 01:56PM

14
#57 - Piotr Śniegowski / @PiotrSniegowski

06/06/2013 at 06:54AM

14
#58 - Shoop Da Whoop / @ShoopDaWhoop8

06/06/2013 at 01:56PM

14
#59 - rcmdnk / @rcmdnk

06/11/2013 at 01:57AM

14
#60 - James / @Dronak

07/24/2013 at 07:17PM

14
#61 - A / @Tower_1980

08/02/2013 at 05:01AM

14
#62 - Chris Brown / @engineercyb

08/06/2013 at 04:42PM

14
#63 - Arturo Escaip / @arturoescaip

09/01/2013 at 01:06AM

14
#64 - Oliver Christ / @0liverChrist

10/04/2013 at 07:53AM

14
#65 - US Dollar Price / @USDollarPrice

11/04/2013 at 02:06PM

14
#66 - Michael C / @sockdude1

11/04/2013 at 10:30PM

14
#67 - Stefan Schmidt / @stafue

12/06/2013 at 07:40AM

14
#68 - Zach Kemp / @zvksf

12/23/2013 at 09:34PM

14
#69 - Quota / @Quotad

02/11/2014 at 01:58AM

14
#70 - Joonas Pihlajamaa / @jokkebk

02/25/2014 at 06:35AM

14
#71 - Felipe Jaramillo F / @mrfelipe

04/03/2014 at 09:16PM

14
#72 - ZorgroZ / @ZorgroZ

04/11/2014 at 03:00PM

14
#73 - Brian / @wyantb_reader

06/25/2014 at 07:26PM

14
#74 - RobertT / @techrt2050

07/22/2014 at 09:20AM

14
#75 - Leonardo Pistone / @lepistone

08/07/2014 at 01:00PM

14
#76 - Leeren / @Leeren

08/09/2014 at 06:46PM

14
#77 - James T. Huggett / @Jmeshka

09/03/2014 at 01:07AM

14
#78 - Michael Comerford / @MComerford1

09/25/2014 at 07:00AM

14
#79 - Mauro Persano / @fzort

11/21/2014 at 04:57PM

15
#80 - David Barnett / @mu_mind

11/23/2012 at 12:19PM

15
#81 - mhb / @mhbvim

11/24/2012 at 11:40PM

15
#82 - 無ん垢の叫び / @john_ababa

11/25/2012 at 03:02AM

15
#83 - George / @banditaras

11/25/2012 at 01:06PM

15
#84 - Eric Andres / @eric_m_andres

12/04/2012 at 02:53PM

15
#85 - Benjamin Thomas / @PryFlack

01/05/2013 at 05:45PM

15
#86 - CY / @wongcy0

01/27/2013 at 10:17PM

15
#87 - mnx / @mnxx

02/06/2013 at 01:59AM

15
#88 - Addisu Taddese / @azeey

03/02/2013 at 09:58AM

15
#89 - cj / @cj01101

08/12/2013 at 09:07PM

15
#90 - Hachez Floran / @FloranHachez

09/05/2013 at 04:52AM

15
#91 - Martin Barney / @MartinBarney

05/04/2014 at 08:32PM

15
#92 - Dmitriy / @_dpy_

08/21/2014 at 01:45PM

16
#93 - Hubba / @HubbaBubbaFett

11/23/2012 at 11:45AM

16
#94 - Vincent Riquer / @ScriptFanix

11/23/2012 at 05:58PM

16
#95 - HiTECNOLOGYs / @HiTECNOLOGYs

11/27/2012 at 09:25AM

16
#96 - Ming Liu / @vmliu

11/28/2012 at 01:34PM

16
#97 - Steven Ngo / @sngo82

11/28/2012 at 01:41PM

16
#98 - Lance Levine / @LanceSMLevine

12/01/2012 at 01:20AM

16
#99 - Ryan Patterson / @CGamesPlay

12/28/2012 at 12:15PM

16
#100 - Tetsuya Matsuyama / @m_tetsuya

12/30/2012 at 05:11AM

16
#101 - jared miller / @jared_vim

03/02/2013 at 03:28PM

16
#102 - Jordan Owens / @signalhandler

12/09/2013 at 10:28AM

17
#103 - Arun / @UArunKumar

12/04/2012 at 12:31PM

17
#104 - Bart of Denver / @bartofdenver

08/12/2013 at 07:18PM

17
#105 - engy / @engydmw

09/24/2013 at 02:33PM

18
#106 - Phil / @ischi

12/10/2012 at 12:29AM

18
#107 - Fontaine Kévin / @DotSlash974

08/31/2013 at 10:14AM

19
#108 - Scott Myц / @ScottMuc

04/24/2013 at 11:27PM

20
#109 - charadeyouare / @charadeyouare

05/28/2013 at 02:36PM

21
#110 - Ravi S Sinha / @ambidextrousTx

11/23/2012 at 09:06AM

22
#111 - Mattia Gheda / @ghedamat

11/23/2012 at 03:36PM

22
#112 - Joshua Travis / @jktravis

11/24/2012 at 11:26AM

22
#113 - Peter Esselius / @esselius

02/19/2013 at 08:26AM

22
#114 - Bjorn / @bjorn_248

11/15/2013 at 11:58AM

23
#115 - Tj / @yrddy

08/19/2014 at 04:50AM

24
#116 - Michaël M. / @asenar

11/25/2012 at 06:36AM

24
#117 - A R / @arusso23

12/22/2012 at 12:28AM

28
#118 - Pradeep Kumar / @pradeep6kumar

12/10/2012 at 08:03AM

34
#119 - Sebastian Heil / @sebokopter

11/23/2012 at 01:59PM

41
#120 - FocusandBlur / @focusandblur

03/23/2014 at 01:51PM

43
#121 - Charlene Tshos / @charlymul

04/10/2013 at 01:12AM

169
#122 - 최용철 Charles Choi / @cycorld

04/06/2013 at 08:17AM

308
#123 - Ben Ogorek / @baogorek

04/11/2013 at 10:29AM