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 94 remaining solutions by signing in and submitting your own entry
#95 Tetsuya Matsuyama / @m_tetsuya - Score: 16 - 12/30/12 @ 05:11
dw$Jelr<CR>A <Esc>pr0ZZ

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

0 comments

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

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

0 comments

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

0 comments

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

0 comments

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

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

#117 최용철 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

#118 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_

118 active golfers, 251 entries

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

11/23/2012 at 07:20AM

4654945923_eb2c60ee5f_normal
12
#2 - Kerson Hsiao / @KersonHsiao

11/23/2012 at 08:52AM

Ewbdmdtg_normal
12
#3 - Tim Chase / @gumnos

11/23/2012 at 09:07AM

40051_789281885907_29616532_44170636_2091417_n_normal
12
#4 - Conner McDaniel / @connermcd

11/23/2012 at 12:37PM

Q6hrg93p4r3hn56thmd0_normal
12
#5 - Urtica dioica / @udioica

11/23/2012 at 01:20PM

Default_profile_1_normal
12
#6 - marmelad / @jordgubbssylt

11/24/2012 at 04:34PM

585f7ec03d6b11e19896123138142014_7_normal
12
#7 - Jordan Eldredge / @captbaritone

12/01/2012 at 12:37AM

Eightbit-c412947d-773f-4c37-9b60-df866142de09_normal
12
#8 - Daniel Baldwin / @danielcbaldwin

12/26/2012 at 10:57AM

Twitter_normal
12
#9 - Tony Locke / @t_locke

01/01/2013 at 06:25AM

Bunnies_normal
12
#10 - Trevor Powell / @DoomedBunnies

03/19/2013 at 07:09PM

Untitled-1_normal
12
#11 - Chase Stubblefield / @sterlingchase

04/30/2013 at 01:46AM

0e620322b2c292d069fe93e27c081f9c_normal
12
#12 - Petro Тrouq / @zulolosi

05/11/2013 at 03:34PM

7bbd949b345fcbcfd812b231aed89f99_normal
12
#13 - Marco Hinz / @_mhinz_

05/15/2013 at 11:19AM

C4065e7d8164bafa96796ecc4b8ca2d7_normal
12
#14 - Bradd Szonye / @bszonye

07/13/2013 at 06:11AM

Default_profile_2_normal
12
#15 - Ingo / @ist3fani

07/31/2013 at 02:06AM

Default_profile_6_normal
12
#16 - brett / @brettyukich

09/21/2013 at 09:30PM

08jqb4rz_normal
12
#17 - Yann Moisan / @YannMoisan

01/03/2014 at 12:43PM

8bits_004_normal
12
#18 - Romain Knezevic / @rkjdid

01/18/2014 at 04:33PM

Default_profile_0_normal
12
#19 - Ben Lambeth / @azy2_ben

02/13/2014 at 11:10AM

Default_profile_1_normal
12
#20 - Xelrifos / @Xelrifos

02/21/2014 at 10:44AM

41z2-0e1_normal
12
#21 - kiho choi / @ArtStandAlone

04/13/2014 at 04:35PM

Johnjohn_normal
12
#22 - John Braxler / @braxler

04/17/2014 at 04:54AM

Default_profile_1_normal
14
#23 - a24f0600 / @a24f0600

11/23/2012 at 06:27AM

P1000007_normal
14
#24 - h_east (DDD ready) / @h_east

11/23/2012 at 06:49AM

Img_3126__1__normal
14
#25 - Pawel Obrok / @mrYapee

11/23/2012 at 11:31AM

3_code-matrix-944d969s_normal
14
#26 - SpiroX / @SpiroX

11/23/2012 at 11:47AM

Vcwwccib_normal
14
#27 - Pete Johns / @johnsyweb

11/23/2012 at 01:12PM

Yukata_profile_normal
14
#28 - Aniket Schneider / @shaydwyrm

11/23/2012 at 05:45PM

Default_profile_0_normal
14
#29 - Mattiassich Ákos / @mattiassicha

11/24/2012 at 04:34AM

726510e8410a9bfe5b1ec04618f6b4f1_normal
14
#30 - Max Sherman / @johnislarry

11/25/2012 at 01:32AM

Default_profile_3_normal
14
#31 - Nathan / @boysetsfrog

11/25/2012 at 04:47AM

Av_normal
14
#32 - Vasil Sakarov / @vsakarov

11/25/2012 at 01:07PM

6c844nfj_normal
14
#33 - Oh fear / @ohfear_num

11/25/2012 at 03:40PM

Twitterprofile_normal
14
#34 - Daniel Lundin / @danielundin

11/26/2012 at 12:34AM

Gravatar_normal
14
#35 - Chris / @ciwchris

11/26/2012 at 08:23PM

Mypictr_twitter__1__normal
14
#36 - taylorka / @taylorka

11/30/2012 at 08:19AM

R8fihqoe_normal
14
#37 - Michael / @mjs2600

12/02/2012 at 12:38PM

Default_profile_3_normal
14
#38 - DR / @dde81

12/03/2012 at 06:40PM

Default_profile_1_normal
14
#39 - jDeveloper / @jDevEE

12/04/2012 at 01:55PM

1497593_normal
14
#40 - Ray Lehtiniemi / @rayll

12/09/2012 at 03:05AM

86bbec5eaceccba07edfd80cfb93a462_normal
14
#41 - Kudryavtsev Alexandr / @kudryav_a

12/11/2012 at 11:22AM

Default_profile_3_normal
14
#42 - Édouard M'tou / @DouardM

12/19/2012 at 12:04PM

Default_profile_6_normal
14
#43 - Lari / @larifariman

12/27/2012 at 04:43PM

C9315f734465f1906d4e615b826fb3d1_normal
14
#44 - Alec Goebel / @zego5360

01/04/2013 at 01:09AM

Default_profile_1_normal
14
#45 - Alexander Borysov / @ab99c5e2

01/15/2013 at 09:18PM

Tare_normal
14
#46 - martha / @hellomartha

01/17/2013 at 06:57AM

Ava2-184_normal
14
#47 - Radosław Majewski / @radomaj

01/22/2013 at 07:53AM

B592a855c292d25002a2b64c9d2f8280_normal
14
#48 - Marcin Radomski / @_dextero

01/22/2013 at 09:25AM

Default_profile_2_normal
14
#49 - N / @nymph192

02/11/2013 at 11:51AM

Default_profile_5_normal
14
#50 - Steven Herbst / @transistorman

02/24/2013 at 04:50PM

9ef2c20d77004f8f3b0727c1b2888ea3_normal
14
#51 - Jason Graham / @jason__graham

03/02/2013 at 04:26PM

7bbc92500a24e0892967c51a50f1ff8e_normal
14
#52 - Tyler / @tylerbindon

04/02/2013 at 09:56PM

Default_profile_4_normal
14
#53 - David Yan / @david_yan

04/18/2013 at 01:02PM

Image_normal
14
#54 - fake Jon Lorusso / @jonlorusso

04/26/2013 at 01:56PM

Default_profile_2_normal
14
#55 - Piotr Śniegowski / @PiotrSniegowski

06/06/2013 at 06:54AM

Default_profile_1_normal
14
#56 - Shoop Da Whoop / @ShoopDaWhoop8

06/06/2013 at 01:56PM

6b5c41301e0cfb2e6033f71cfa2ff3f6_normal
14
#57 - rcmdnk / @rcmdnk

06/11/2013 at 01:57AM

Arcadia_avatar_normal
14
#58 - James / @Dronak

07/24/2013 at 07:17PM

Default_profile_2_normal
14
#59 - A / @Tower_1980

08/02/2013 at 05:01AM

Default_profile_1_normal
14
#60 - Chris Brown / @engineercyb

08/06/2013 at 04:42PM

E5f8ff0a8862086d80527509467f57b1_normal
14
#61 - Arturo Escaip / @arturoescaip

09/01/2013 at 01:06AM

Default_profile_2_normal
14
#62 - Oliver Christ / @0liverChrist

10/04/2013 at 07:53AM

3df5ee82f60ff3c07d6beb61455758d2_normal
14
#63 - US Dollar Price / @USDollarPrice

11/04/2013 at 02:06PM

Default_profile_5_normal
14
#64 - Michael C / @sockdude1

11/04/2013 at 10:30PM

Image_normal
14
#65 - Stefan Schmidt / @stafue

12/06/2013 at 07:40AM

Default_profile_4_normal
14
#66 - Zach Kemp / @zvksf

12/23/2013 at 09:34PM

Alex1_normal
14
#67 - Quota / @Quotad

02/11/2014 at 01:58AM

Netti_pihlajo1_lthumb_normal
14
#68 - Joonas Pihlajamaa / @jokkebk

02/25/2014 at 06:35AM

Img_8822f_normal
14
#69 - Felipe Jaramillo F / @mrfelipe

04/03/2014 at 09:16PM

Default_profile_3_normal
14
#70 - ZorgroZ / @ZorgroZ

04/11/2014 at 03:00PM

Default_profile_1_normal
14
#71 - Brian / @wyantb_reader

06/25/2014 at 07:26PM

Default_profile_3_normal
14
#72 - RobertT / @techrt2050

07/22/2014 at 09:20AM

Dscf0333_2_normal
14
#73 - Leonardo Pistone / @lepistone

08/07/2014 at 01:00PM

Me1_normal
14
#74 - Leeren / @Leeren

08/09/2014 at 06:46PM

Pupulon_normal
15
#75 - David Barnett / @mu_mind

11/23/2012 at 12:19PM

0eac0267dbe74aebf3c8129f2e65accd_normal
15
#76 - mhb / @mhbvim

11/24/2012 at 11:40PM

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

11/25/2012 at 03:02AM

Tewgksfhh42jhiyyogtx_normal
15
#78 - George / @banditaras

11/25/2012 at 01:06PM

Profilepic_normal
15
#79 - Eric Andres / @eric_m_andres

12/04/2012 at 02:53PM

Default_profile_5_normal
15
#80 - Benjamin Thomas / @PryFlack

01/05/2013 at 05:45PM

Default_profile_1_normal
15
#81 - CY / @wongcy0

01/27/2013 at 10:17PM

Default_profile_4_normal
15
#82 - mnx / @mnxx

02/06/2013 at 01:59AM

Me.resized_normal
15
#83 - Addisu Taddese / @azeey

03/02/2013 at 09:58AM

Default_profile_5_normal
15
#84 - cj / @cj01101

08/12/2013 at 09:07PM

7349a4e3ad844816d6dac32f6002f74f_normal
15
#85 - Hachez Floran / @FloranHachez

09/05/2013 at 04:52AM

Default_profile_4_normal
15
#86 - Martin Barney / @MartinBarney

05/04/2014 at 08:32PM

Btajjt8p_normal
15
#87 - Dmitriy / @_dpy_

08/21/2014 at 01:45PM

Default_profile_1_normal
16
#88 - Hubba / @HubbaBubbaFett

11/23/2012 at 11:45AM

Canicule_normal
16
#89 - Vincent Riquer / @ScriptFanix

11/23/2012 at 05:58PM

Wk09s320atcql7kvpbmf_normal
16
#90 - HiTECNOLOGYs / @HiTECNOLOGYs

11/27/2012 at 09:25AM

Default_profile_0_normal
16
#91 - Ming Liu / @vmliu

11/28/2012 at 01:34PM

41774_1227600312_9996_n_normal
16
#92 - Steven Ngo / @sngo82

11/28/2012 at 01:41PM

C5585164-e81e-4935-adca-ddbbda66877c_normal
16
#93 - Lance Levine / @LanceSMLevine

12/01/2012 at 01:20AM

Default_profile_3_normal
16
#94 - Ryan Patterson / @CGamesPlay

12/28/2012 at 12:15PM

Default_profile_0_normal
16
#95 - Tetsuya Matsuyama / @m_tetsuya

12/30/2012 at 05:11AM

Default_profile_1_normal
16
#96 - jared miller / @jared_vim

03/02/2013 at 03:28PM

85ac395f598e5c94fc10f4a58f4e20e6_normal
16
#97 - Jordan Owens / @signalhandler

12/09/2013 at 10:28AM

Icz5r8syhjalvhx5eu6d_normal
17
#98 - Arun / @UArunKumar

12/04/2012 at 12:31PM

Q70fx93qo7ug6w43ikxn_normal
17
#99 - Bart of Denver / @bartofdenver

08/12/2013 at 07:18PM

Default_profile_3_normal
17
#100 - engy / @engydmw

09/24/2013 at 02:33PM

Icognito_me_normal
18
#101 - Phil / @ischi

12/10/2012 at 12:29AM

026b3266e80bedc4050db077a4936921_normal
18
#102 - Fontaine Kévin / @DotSlash974

08/31/2013 at 10:14AM

Photo_normal
19
#103 - Scott Muc / @ScottMuc

04/24/2013 at 11:27PM

Cya_normal
20
#104 - charadeyouare / @charadeyouare

05/28/2013 at 02:36PM

Ba1070d8841ff40257904144ae3db536_normal
21
#105 - Ravi S Sinha / @ambidextrousTx

11/23/2012 at 09:06AM

Vwcywjag28wfnzcbk3kw_normal
22
#106 - Mattia Gheda / @ghedamat

11/23/2012 at 03:36PM

H0dt83ovy5hejzqrwue6_normal
22
#107 - Joshua Travis / @jktravis

11/24/2012 at 11:26AM

Freebsd-logo_no_text_normal
22
#108 - Peter Esselius / @esselius

02/19/2013 at 08:26AM

29g0ig9_normal
22
#109 - Bjorn / @bjorn_248

11/15/2013 at 11:58AM

Default_profile_6_normal
23
#110 - Tj / @yrddy

08/19/2014 at 04:50AM

Moi-parano_normal
24
#111 - Michaël M. / @asenar

11/25/2012 at 06:36AM

Photo_on_2010-12-14_at_20.54__3_normal
24
#112 - A R / @arusso23

12/22/2012 at 12:28AM

D32e1edfc5004c3b4bcbd009cb2cbdc6_normal
28
#113 - Pradeep Kumar / @pradeep6kumar

12/10/2012 at 08:03AM

99d66d079705c655e24d3b3e3d866222_normal
34
#114 - Sebastian Heil / @sebokopter

11/23/2012 at 01:59PM

Default_profile_5_normal
41
#115 - FocusandBlur / @focusandblur

03/23/2014 at 01:51PM

988cb98f5335abe84a4487593001e799_normal
43
#116 - Charlene Tshos / @charlymul

04/10/2013 at 01:12AM

80oh7mk0h0zsbbm97a7o_normal
169
#117 - 최용철 Charles Choi / @cycorld

04/06/2013 at 08:17AM

E55fc57f9bc2b34a666f3136b8281bd8_normal
308
#118 - Ben Ogorek / @baogorek

04/11/2013 at 10:29AM