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 56e59ff88cf5905fe501ce5b

ASCII Art

how good are you with simple regex?

Start file
 #_                                                                       d
 ##_                                                                     d#
 NN#p                                                                  j0NN
 40NNh_                                                              _gN#B0
 4JF@NNp_                                                          _g0WNNL@
 JLE5@WRNp_                                                      _g@NNNF3_L
 _F`@q4WBN@Np_                                                _gNN@ZL#p"Fj_
 "0^#-LJ_9"NNNMp__                                         _gN#@#"R_#g@q^9"
 a0,3_j_j_9FN@N@0NMp__                                __ggNZNrNM"P_f_f_E,0a
  j  L 6 9""Q"#^q@NDNNNMpg____                ____gggNNW#W4p^p@jF"P"]"j  F
 rNrr4r*pr4r@grNr@q@Ng@q@N0@N#@NNMpmggggmqgNN@NN@#@4p*@M@p4qp@w@m@Mq@r#rq@r
   F Jp 9__b__M,Juw*w*^#^9#""EED*dP_@EZ@^E@*#EjP"5M"gM@p*Ww&,jL_J__f  F j
 -r#^^0""E" 6  q  q__hg-@4""*,_Z*q_"^pwr""p*C__@""0N-qdL_p" p  J" 3""5^^0r-
   t  J  __,Jb--N""",  *_s0M`""q_a@NW__JP^u_p"""p4a,p" _F""V--wL,_F_ F  #
 _,Jp*^#""9   L  5_a*N"""q__INr" "q_e^"*,p^""qME_ y"""p6u,f  j'  f "N^--LL_
    L  ]   k,w@#"""_  "_a*^E   ba-" ^qj-""^pe"  J^-u_f  _f "q@w,j   f  jL
    #_,J@^""p  `_ _jp-""q  _Dw^" ^cj*""*,j^  "p#_  y""^wE_ _F   F"^qN,_j
 w*^0   4   9__sAF" `L  _Dr"  m__m""q__a^"m__*  "qA_  j" ""Au__f   J   0^--
    ]   J_,x-E   3_  jN^" `u _w^*_  _RR_  _J^w_ j"  "pL_  f   7^-L_F   #
    jLs*^6   `_  _&*"  q  _,NF   "wp"  "*g"   _NL_  p  "-d_   F   ]"*u_F
 ,x-"F   ]    Ax^" q    hp"  `u jM""u  a^ ^, j"  "*g_   p  ^mg_   D.H. 1992
End file
 ,x-"F   ]    Ax^" q    hp"  `u jM""u  a^ ^, j"  "*g_   p  ^mg_   D.H. 1992
    jLs*^6   `_  _&*"  q  _,NF   "wp"  "*g"   _NL_  p  "-d_   F   ]"*u_F
    ]   J_,x-E   3_  jN^" `u _w^*_  _RR_  _J^w_ j"  "pL_  f   7^-L_F   #
 w*^0   4   9__sAF" `L  _Dr"  m__m""q__a^"m__*  "qA_  j" ""Au__f   J   0^--
    #_,J@^""p  `_ _jp-""q  _Dw^" ^cj*""*,j^  "p#_  y""^wE_ _F   F"^qN,_j
    L  ]   k,w@#"""_  "_a*^E   ba-" ^qj-""^pe"  J^-u_f  _f "q@w,j   f  jL
 _,Jp*^#""9   L  5_a*N"""q__INr" "q_e^"*,p^""qME_ y"""p6u,f  j'  f "N^--LL_
   t  J  __,Jb--N""",  *_s0M`""q_a@NW__JP^u_p"""p4a,p" _F""V--wL,_F_ F  #
 -r#^^0""E" 6  q  q__hg-@4""*,_Z*q_"^pwr""p*C__@""0N-qdL_p" p  J" 3""5^^0r-
   F Jp 9__b__M,Juw*w*^#^9#""EED*dP_@EZ@^E@*#EjP"5M"gM@p*Ww&,jL_J__f  F j
 rNrr4r*pr4r@grNr@q@Ng@q@N0@N#@NNMpmggggmqgNN@NN@#@4p*@M@p4qp@w@m@Mq@r#rq@r
  j  L 6 9""Q"#^q@NDNNNMpg____                ____gggNNW#W4p^p@jF"P"]"j  F
 a0,3_j_j_9FN@N@0NMp__                                __ggNZNrNM"P_f_f_E,0a
 "0^#-LJ_9"NNNMp__                                         _gN#@#"R_#g@q^9"
 _F`@q4WBN@Np_                                                _gNN@ZL#p"Fj_
 JLE5@WRNp_                                                      _g@NNNF3_L
 4JF@NNp_                                                          _g0WNNL@
 40NNh_                                                              _gN#B0
 NN#p                                                                  j0NN
 ##_                                                                     d#
 #_                                                                       d
 #_                                                                       d
 ##_                                                                     d#
 NN#p                                                                  j0NN
 40NNh_                                                              _gN#B0
 4JF@NNp_                                                          _g0WNNL@
 JLE5@WRNp_                                                      _g@NNNF3_L
 _F`@q4WBN@Np_                                                _gNN@ZL#p"Fj_
 "0^#-LJ_9"NNNMp__                                         _gN#@#"R_#g@q^9"
 a0,3_j_j_9FN@N@0NMp__                                __ggNZNrNM"P_f_f_E,0a
  j  L 6 9""Q"#^q@NDNNNMpg____                ____gggNNW#W4p^p@jF"P"]"j  F
 rNrr4r*pr4r@grNr@q@Ng@q@N0@N#@NNMpmggggmqgNN@NN@#@4p*@M@p4qp@w@m@Mq@r#rq@r
   F Jp 9__b__M,Juw*w*^#^9#""EED*dP_@EZ@^E@*#EjP"5M"gM@p*Ww&,jL_J__f  F j
 -r#^^0""E" 6  q  q__hg-@4""*,_Z*q_"^pwr""p*C__@""0N-qdL_p" p  J" 3""5^^0r-
   t  J  __,Jb--N""",  *_s0M`""q_a@NW__JP^u_p"""p4a,p" _F""V--wL,_F_ F  #
 _,Jp*^#""9   L  5_a*N"""q__INr" "q_e^"*,p^""qME_ y"""p6u,f  j'  f "N^--LL_
    L  ]   k,w@#"""_  "_a*^E   ba-" ^qj-""^pe"  J^-u_f  _f "q@w,j   f  jL
    #_,J@^""p  `_ _jp-""q  _Dw^" ^cj*""*,j^  "p#_  y""^wE_ _F   F"^qN,_j
 w*^0   4   9__sAF" `L  _Dr"  m__m""q__a^"m__*  "qA_  j" ""Au__f   J   0^--
    ]   J_,x-E   3_  jN^" `u _w^*_  _RR_  _J^w_ j"  "pL_  f   7^-L_F   #
    jLs*^6   `_  _&*"  q  _,NF   "wp"  "*g"   _NL_  p  "-d_   F   ]"*u_F
 ,x-"F   ]    Ax^" q    hp"  `u jM""u  a^ ^, j"  "*g_   p  ^mg_   D.H. 1992

View Diff

0a1,21
>  ,x-"F   ]    Ax^" q    hp"  `u jM""u  a^ ^, j"  "*g_   p  ^mg_   D.H. 1992
>     jLs*^6   `_  _&*"  q  _,NF   "wp"  "*g"   _NL_  p  "-d_   F   ]"*u_F
>     ]   J_,x-E   3_  jN^" `u _w^*_  _RR_  _J^w_ j"  "pL_  f   7^-L_F   #
>  w*^0   4   9__sAF" `L  _Dr"  m__m""q__a^"m__*  "qA_  j" ""Au__f   J   0^--
>     #_,J@^""p  `_ _jp-""q  _Dw^" ^cj*""*,j^  "p#_  y""^wE_ _F   F"^qN,_j
>     L  ]   k,w@#"""_  "_a*^E   ba-" ^qj-""^pe"  J^-u_f  _f "q@w,j   f  jL
>  _,Jp*^#""9   L  5_a*N"""q__INr" "q_e^"*,p^""qME_ y"""p6u,f  j'  f "N^--LL_
>    t  J  __,Jb--N""",  *_s0M`""q_a@NW__JP^u_p"""p4a,p" _F""V--wL,_F_ F  #
>  -r#^^0""E" 6  q  q__hg-@4""*,_Z*q_"^pwr""p*C__@""0N-qdL_p" p  J" 3""5^^0r-
>    F Jp 9__b__M,Juw*w*^#^9#""EED*dP_@EZ@^E@*#EjP"5M"gM@p*Ww&,jL_J__f  F j
>  rNrr4r*pr4r@grNr@q@Ng@q@N0@N#@NNMpmggggmqgNN@NN@#@4p*@M@p4qp@w@m@Mq@r#rq@r
>   j  L 6 9""Q"#^q@NDNNNMpg____                ____gggNNW#W4p^p@jF"P"]"j  F
>  a0,3_j_j_9FN@N@0NMp__                                __ggNZNrNM"P_f_f_E,0a
>  "0^#-LJ_9"NNNMp__                                         _gN#@#"R_#g@q^9"
>  _F`@q4WBN@Np_                                                _gNN@ZL#p"Fj_
>  JLE5@WRNp_                                                      _g@NNNF3_L
>  4JF@NNp_                                                          _g0WNNL@
>  40NNh_                                                              _gN#B0
>  NN#p                                                                  j0NN
>  ##_                                                                     d#
>  #_                                                                       d

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 43 remaining solutions by signing in and submitting your own entry
#44 amol khatri / @khatri_amol - Score: 21 - 03/13/16 @ 18:12
<Esc>:g/./t0<CR>ZZ<CR><Esc>:wqa<CR>

0 comments


Created by: @wisty97

44 active golfers, 68 entries

Leaderboard (lowest score wins):
10
#1 - Wistan Chou / @wisty97

03/13/2016 at 05:19PM

10
#2 - Cristian Lupașcu / @clupasq

03/13/2016 at 05:24PM

10
#3 - Jon Krause / @jkrause314

03/13/2016 at 05:37PM

10
#4 - blue fin / @blueuo

03/13/2016 at 05:42PM

10
#5 - Andreas Carben / @meiner_eins

03/13/2016 at 07:39PM

10
#6 - Kai Yuan / @kentyuan

03/13/2016 at 08:05PM

10
#7 - Jacob Degeling / @JacobDegeling

03/13/2016 at 08:47PM

10
#8 - Hao Chen / @Chen_Hao

03/13/2016 at 09:24PM

10
#9 - Urtica dioica / @udioica

03/13/2016 at 10:04PM

10
#10 - Codecor / @codecor02

03/14/2016 at 04:18AM

10
#11 - Petro Тrouq / @zulolosi

03/14/2016 at 05:18AM

10
#12 - Dimitar Dimitrov / @kurkale6ka

03/14/2016 at 09:28AM

10
#13 - John Braxler / @braxler

03/14/2016 at 09:43PM

10
#14 - glepha / @glepha_vim

03/15/2016 at 04:01AM

10
#15 - David Jr / @DmcdonnelJr

03/15/2016 at 10:06PM

10
#16 - Philiphone / @Philiphone

03/26/2016 at 02:51PM

10
#17 - Dinesh Bhosale / @MrDineshBhosale

04/01/2016 at 12:26PM

10
#18 - Saki Gw / @Sakigw

04/03/2016 at 06:49PM

10
#19 - Jan Bundesmann / @janbundesmann

04/15/2016 at 09:36AM

10
#20 - Herbert Kagumba / @HabuKagumba

05/30/2016 at 11:29AM

10
#21 - Foo Bar / @foobar01123

06/02/2016 at 10:13PM

10
#22 - Stanislav / @prstad

09/12/2016 at 09:50AM

10
#23 - И К / @igorjan94

09/15/2016 at 09:07AM

10
#24 - Turkey Man / @lvturkeyman

12/17/2017 at 02:19PM

10
#25 - Not real / @Notreal70353016

09/22/2018 at 11:24PM

10
#26 - TheEngineator / @engineator

12/08/2018 at 07:59PM

14
#27 - tPenguinLTG / @tpenguinltg

04/26/2016 at 07:17AM

14
#28 - Nico Gevers / @gevious_

05/08/2016 at 06:46PM

14
#29 - Andreas Hagesjö / @Ankhagge

03/21/2017 at 11:02PM

14
#30 - Jorge / @jherreso

07/27/2017 at 06:13AM