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 423 remaining solutions by signing in and submitting your own entry
#424 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

424 active golfers, 1510 entries

Leaderboard (lowest score wins):
9
#151 - Daniel Lago Suárez / @dlsuarez

10/26/2012 at 09:18AM

9
#152 - Marcin Szamotulski / @me_coot

11/02/2012 at 05:47PM

9
#153 - kana / @kana1

11/04/2012 at 03:05AM

9
#154 - Jouke-Thiemo Waleson / @jtwaleson

11/08/2012 at 09:51PM

9
#155 - 4L41N / @4L41N1

11/13/2012 at 07:54AM

9
#156 - Mathias Rav / @iaddquotes

11/13/2012 at 11:16PM

9
#157 - Marcin Radomski / @_dextero

11/15/2012 at 08:18PM

9
#158 - Adam MᶜDaniel / @adamrmcd

11/17/2012 at 04:31AM

9
#159 - Zbigniew Siciarz / @zsiciarz

11/18/2012 at 08:21PM

9
#160 - Arton0306 / @Arton0306

11/21/2012 at 02:37PM

9
#161 - Dave Ingram / @dmi

11/21/2012 at 06:23PM

9
#162 - DR / @dde81

12/05/2012 at 01:03AM

9
#163 - Yi EungJun / @semtlnori

01/06/2013 at 09:43AM

9
#164 - mnx / @mnxx

02/06/2013 at 08:18AM

9
#165 - Tyler / @tylerbindon

04/02/2013 at 06:42AM

9
#166 - Trevor Powell / @DoomedBunnies

04/11/2013 at 02:55AM

9
#167 - Toto l'haricot / @nico_le_terribl

06/27/2013 at 06:55PM

9
#168 - Bogdan Gusiev / @bgusiev

07/01/2013 at 08:34PM

9
#169 - curist / @curist

07/09/2013 at 09:13AM

9
#170 - Bradd Szonye / @bszonye

07/11/2013 at 11:26AM

9
#171 - Roland Schatz / @fl_Overmind

07/12/2013 at 04:35PM

9
#172 - Maksim S. / @waynesayonara

07/21/2013 at 11:01PM

9
#173 - Dr Rev J. “I am not a bot!” Kirchartz, KSC, KHS / @JKirchartz

07/23/2013 at 03:25AM

9
#174 - Heath Patterson / @HeathPatterson

07/29/2013 at 06:28PM

9
#175 - Nathan / @NathanHarperoni

08/04/2013 at 06:02PM

9
#176 - cj / @cj01101

08/05/2013 at 03:25AM

9
#177 - Dan Harrington / @Dan1H1

08/13/2013 at 02:06AM

9
#178 - Dom Armstrong / @dom_cycleface

08/22/2013 at 12:13PM

9
#179 - David Pathakjee / @DavidPathakjee

08/29/2013 at 03:41AM

9
#180 - Andrew Crites / @ExplosionPills

09/12/2013 at 02:48PM