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 5054baaafa0b390002000029

SFD-ROC: vimvimvim

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

Start file
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
End file
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim

View Diff

1c1,26
< vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
---
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim

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 297 remaining solutions by signing in and submitting your own entry
#298 ren / wxoc - Score: 14 - 02/24/14 @ 08:54
qqfvi<CR><Esc>q25@qZZ

0 comments


#299 barnabaguy / barnabaguy - Score: 14 - 03/01/14 @ 22:36
qq3li<CR><Esc>q24@qZZ

0 comments


#300 Jean-PhilippeBurelle / jpburelle - Score: 14 - 03/02/14 @ 04:46
qq3li<CR><Esc>q24@qZZ

0 comments


#301 devper94 / devper94 - Score: 14 - 03/16/14 @ 09:29
dd26ivim<CR><Esc>ddZZ

0 comments


#302 Jacob / jayekub - Score: 14 - 03/22/14 @ 23:31
qqtva<CR><Esc>q25@qZZ

0 comments


#303 Subhi Dweik / SubhiDweik - Score: 14 - 06/03/14 @ 00:13
qqfvi<CR><Esc>q25@qZZ

0 comments


#304 Alishah Chator / alicharizard - Score: 14 - 06/06/14 @ 17:27
qqfvi<CR><Esc>q24@qZZ

0 comments


#305 Boyang Zhu / boyangzhu1 - Score: 14 - 06/06/14 @ 19:42
qxfvi<CR><Esc>q24@xZZ

0 comments


#306 compiled wrong / compiledwrong - Score: 14 - 06/23/14 @ 00:31
qq3li<NL><Esc>q24@qZZ

0 comments


#307 Jim Jam / JimJamGillyWam - Score: 14 - 06/29/14 @ 02:03
qqfvi<CR><Esc>q25@qZZ

0 comments


#308 Patrick Pitoscia / Patrick03960431 - Score: 14 - 08/05/14 @ 02:13
qqfvi<CR><Esc>q99@qZZ

0 comments


#309 Violette Vanadium / ViolettVanadium - Score: 14 - 10/08/14 @ 14:53
qqfvi<CR><Esc>q99@qZZ

0 comments


#310 deris / deris0126 - Score: 14 - 11/06/14 @ 23:14
qqfvi<CR><Esc>q24@qZZ

0 comments


#311 Robert Dyer / NavyJim13 - Score: 14 - 02/09/15 @ 06:31
qqfvi<CR><Esc>q25@qZZ

0 comments


#312 d1uckym d1uckym / d1uckym - Score: 14 - 02/19/15 @ 00:46
qdfvi<CR><Esc>q99@dZZ

0 comments


#313 Dmitry Zudochkin / vredniy - Score: 14 - 02/20/15 @ 11:32
qq3<Right>i<CR><Esc>q24@qZZ

0 comments


#314 luffy / raxcoi - Score: 14 - 07/12/15 @ 22:02
dd26ivim<CR><Esc>ddZZ

0 comments


#315 Gerald Tilma / GeraldTilma - Score: 14 - 10/19/15 @ 23:46
qqlla<CR><Esc>q24@qZZ

0 comments


#316 ハチポケッツ / 8pockets - Score: 14 - 11/20/15 @ 00:42
qqtva<CR><Esc>q25@qZZ

0 comments


#317 udreki / udreki - Score: 14 - 02/20/16 @ 09:27
qqfma<CR><Esc>q24@qZZ

0 comments


#318 Kyouma / kyoumaJohn - Score: 14 - 10/14/16 @ 19:01
qqtva<CR><Esc>q25@qZZ

0 comments


#319 Jonas Sunde V / sunde_v - Score: 14 - 08/04/17 @ 17:26
qq3li<CR><Esc>q24@qZZ

0 comments


#320 Austin Ware / AustinWare17 - Score: 14 - 03/12/18 @ 21:23
qq3li<CR><Esc>q24@qZZ

0 comments


#321 . / mzec - Score: 15 - 09/17/12 @ 16:08
:s/m/m<C-V><CR>/g<CR>ddZZ

0 comments


#322 Rodolphe Belouin / rbelouin - Score: 15 - 09/20/12 @ 13:27
:s/mv/m\rv/g<CR>ZZ

0 comments


#323 Vijay Dev / vijay_dev - Score: 15 - 09/21/12 @ 18:43
:s/mv/m\rv/g<CR>ZZ

0 comments


#324 Roger Spencer / RojSpencer - Score: 15 - 09/27/12 @ 01:08
:s/mv/m\rv/g<CR>ZZ

0 comments


#325 Carsten Zimmermann / carpgezwitscher - Score: 15 - 09/29/12 @ 09:56
:s/m/m\r/g<CR>ddZZ

0 comments


#326 GimVolfer VimGolfer / GimGol - Score: 15 - 09/29/12 @ 20:54
:s/mv/m\rv/g<CR>ZZ

0 comments


#327 Lajos Koszti / Ajnasz - Score: 15 - 10/04/12 @ 20:12
:s/mv/m\rv/g<CR>ZZ

0 comments


#328 Matthew LeBourgeois / mwlebour - Score: 15 - 10/18/12 @ 12:04
:s/mv/m<C-V><CR>v/g<CR>ZZ

0 comments


#329 matthew keesan / keesan - Score: 15 - 10/23/12 @ 04:01
:s/m/m\r/g<CR>ddZZ

0 comments


#330 retired account / retired10072015 - Score: 15 - 10/23/12 @ 17:45
:s/m/m\r/g<CR>ddZZ

0 comments


#331 Ed / lonedon - Score: 15 - 10/24/12 @ 00:12
:s/mv/m\rv/g<CR>ZZ

0 comments


#332 Chasetopher / chasetopherlee - Score: 15 - 10/30/12 @ 03:44
:s/mv/m<C-V><CR>v/g<CR>ZZ

0 comments


#333 Underhill Labs / underhilllabs - Score: 15 - 10/31/12 @ 03:37
:s/m/m\r/g<CR>ddZZ

0 comments


#334 Alec Chen / alec929 - Score: 15 - 11/03/12 @ 12:52
:s/m/m\r/g<CR>ddZZ

0 comments


#335 Michael / patheticpat - Score: 15 - 12/16/12 @ 18:31
:s/m/m\r/g<CR>ddZZ

0 comments


#336 James Thomson / jomsie - Score: 15 - 02/27/13 @ 17:03
:s/m/m\r/g<CR>ddZZ

0 comments


#337 Forrest Zeisler / fzeisler - Score: 15 - 04/19/13 @ 13:48
:s/mv/m\rv/g<CR>ZZ

0 comments


#338 Woojung Kim 김우중 / _kimwz - Score: 15 - 07/15/13 @ 04:31
:s/m/m\r/g<CR>ddZZ

0 comments


#339 Trae Robrock / trobrock - Score: 15 - 07/23/13 @ 01:12
:s/m/m\r/g<CR>ddZZ

0 comments


#340 Hersh Singh / HershSingh - Score: 15 - 12/15/13 @ 18:36
:s/m/m\r/g<CR>ddZZ

0 comments


#341 Alexander Bandukwala / abanduk - Score: 15 - 02/27/14 @ 22:44
:s/mv/m\rv/g<CR>ZZ

0 comments


#342 Peter Strawson / PeterStrawson - Score: 15 - 04/18/14 @ 10:41
qf/m<CR>a<CR><Esc>q24@fZZ

0 comments


#343 Ian Pudney / IanPudney - Score: 15 - 06/06/14 @ 18:03
:s/m/m\r/g<CR>ddZZ

0 comments


#344 Connie Qi / connieqi - Score: 15 - 06/09/14 @ 14:44
:s/mv/m\rv/g<CR>ZZ

0 comments


#345 starrynte / starrynte - Score: 15 - 07/10/14 @ 18:10
:s/m/m\r/g<CR>ddZZ

0 comments


#346 r. / rmarvie - Score: 15 - 12/23/14 @ 14:43
:s/m/m\r/g<CR>ddZZ

0 comments


#347 ltn614 / ltn614 - Score: 15 - 09/19/15 @ 15:24
:s:mv:m\rv:g<CR>ZZ

0 comments


#348 ralphbean / ralphbean - Score: 16 - 09/15/12 @ 21:43
:%s/m/m\r/g<CR>ddZZ

0 comments


#349 JJ Asghar / jjasghar - Score: 16 - 09/18/12 @ 16:05
:%s/m/m\r/g<CR>ddZZ

gonxed: % means for every line, and since there's only one line it's superfluous

1 comment


#350 Federico Bond / federicobond - Score: 16 - 09/22/12 @ 22:57
qqllli<CR><Esc>q99@q:x<CR>

0 comments


#351 Jan Mollowitz / jmollowitz - Score: 16 - 09/24/12 @ 08:21
:s/mv/m\rv/g<CR>:x<CR>

0 comments


#352 Nick Stenning / nickstenning - Score: 16 - 10/20/12 @ 15:13
:%s/m/m\r/g<CR>ddZZ

0 comments


#353 Casey Robinson / rampant_monkey - Score: 16 - 12/05/12 @ 19:28
:%s/m/m\r/g<CR>ddZZ

0 comments


#354 Alex Hammel / AlexJHammel - Score: 16 - 12/24/12 @ 14:29
:%s/m/m\r/g<CR>ddZZ

0 comments


#355 Chris Berragan / ChrisBerragan - Score: 16 - 01/19/13 @ 16:21
:%s/mv/m\rv/g<CR>ZZ

0 comments


#356 David J Siefert / davidjsiefert - Score: 16 - 12/13/13 @ 21:51
:%s/mv/m\rv/g<CR>ZZ

0 comments


#357 Brian Peiris / brianpeiris - Score: 16 - 12/28/13 @ 06:00
:%s/m/m\r/g<CR>ddZZ

0 comments


#358 Kamil Krzyżanowski / kamnxt - Score: 16 - 03/14/14 @ 17:20
:s/m/m<C-V><CR>/g<CR>dd:x<CR>

0 comments


#359 ɐʇnɥsɐpoʇ / todashuta - Score: 16 - 03/26/15 @ 06:38
:%s/mv/m<C-V><CR>v/g<CR>ZZ

0 comments


#360 Zach Gulde / zgulde - Score: 16 - 02/29/16 @ 05:40
qqtva<CR><Esc>q25@q:wq<CR>

0 comments


#361 Gurukandhamoorthi / Gurukandhamoor1 - Score: 16 - 07/11/17 @ 14:45
:%s/mv/m\rv/g<CR>ZZ

0 comments


#362 Nicolas Friedli / NicolasFriedli - Score: 17 - 10/28/12 @ 08:14
:s/mv%<BS>/m<C-V><CR>v/g<CR>ZZ

0 comments


#363 Daniel / dpaneda - Score: 17 - 11/10/12 @ 20:55
:% s/m/m\r/g<CR>ddZZ

0 comments


#364 Erik Daniel / erik_daniel - Score: 17 - 06/06/14 @ 18:17
:s/mv/m\rv/g<CR>:wq<CR>

0 comments


#365 shugen / shugeno - Score: 17 - 04/01/15 @ 19:24
:s/vim/&\r/g<CR>ddZZ

0 comments


#366 Pablo / chambawamba358 - Score: 18 - 10/02/13 @ 14:04
q1fvDo<Esc>p0q24@1:wq<CR>

0 comments


#367 sinan / sinan1111111111 - Score: 18 - 02/14/15 @ 15:56
qalla<CR><Esc>q90@add:wq<CR>

0 comments


#368 Sami Niiranen / saminiir - Score: 20 - 10/13/13 @ 18:44
:%s/vim/vim\r/g<CR>ddZZ

0 comments


#369 Angus Fletcher / angusiguess - Score: 21 - 10/19/12 @ 16:14
:s/vim/vim\r/g<CR>dd:wq<CR>

0 comments


#370 wilddog64 / chengkai318 - Score: 23 - 12/17/13 @ 19:20
:s/m\zs/r/g<C-H><C-H><C-H>\r/g<CR>ddZZ

0 comments


#371 Arjen Dijkstra / u_boot - Score: 24 - 09/15/12 @ 17:35
:%s/vim/vm<BS>im\r/g<CR>dd:wq<CR>

0 comments


#372 Joshua Travis / jktravis - Score: 27 - 11/11/12 @ 01:44
:%s/\(m\)\<BS>/\1\r/g<CR>dd:w<CR>:q<CR>

0 comments


Created by: Remy_D

372 active golfers, 1219 entries

Leaderboard (lowest score wins):
8
#1 - Victor Ramirez / virako

09/30/2012 at 03:12PM

8
#2 - Conner McDaniel / connermcd

10/13/2012 at 06:54AM

8
#3 - Julien Kauffmann / julienkauffmann

10/19/2012 at 02:28PM

8
#4 - Serge Pirotte / SergePirotte

10/19/2012 at 05:33PM

8
#5 - Jaime A. Sánchez / jashbeta

10/20/2012 at 04:29AM

8
#6 - ♜ Pepe Doval / pepellou

10/25/2012 at 07:09PM

8
#7 - Jiří Werner / jiri_werner

10/26/2012 at 04:27PM

8
#8 - Urtica dioica / udioica

10/30/2012 at 04:18PM

8
#9 - Pete Bevin / pbevin

11/02/2012 at 06:33PM

8
#10 - James Tomasino / mr_ino

11/12/2012 at 08:45PM

8
#11 - a24f0600 / a24f0600

11/13/2012 at 08:15AM

8
#12 - Jimmy Mabey / mabeyj

11/24/2012 at 03:51AM

8
#13 - Adelar S. Queiróz / adelarsq

11/27/2012 at 10:58PM

8
#14 - Jordan Eldredge / captbaritone

12/01/2012 at 07:50AM

8
#15 - Brian Zwahr / echosa

12/13/2012 at 11:06PM

8
#16 - jk / kewnapse

12/22/2012 at 11:34PM

8
#17 - Federico Galassi / federicogalassi

01/22/2013 at 04:59PM

8
#18 - Yann Moisan / YannMoisan

02/03/2013 at 07:44PM

8
#19 - Niels Madan / nielsmadan

03/24/2013 at 07:38PM

8
#20 - Uvett / u_v_e_t_t

04/18/2013 at 07:47PM

8
#21 - Marco Hinz / _mhinz_

05/21/2013 at 01:57PM

8
#22 - powertomato / powertomato

06/27/2013 at 09:57PM

8
#23 - Steve Tjoa / stevetjoa

07/04/2013 at 07:46AM

8
#24 - Alexey / kramar42

07/04/2013 at 04:02PM

8
#25 - Aaron Bieber / aaronbieber

07/14/2013 at 11:16PM

8
#26 - William Snyders / iam2391212

07/16/2013 at 09:40PM

8
#27 - ———đίxίє—flαтlίиє——— / _dixie_flatline

07/29/2013 at 12:00AM

8
#28 - Michael Coles / gen_ale_drinker

08/16/2013 at 03:51PM

8
#29 - Fontaine Kévin / DotSlash974

08/31/2013 at 04:37PM

8
#30 - James / Dronak

09/01/2013 at 04:17AM