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, 1508 entries

Leaderboard (lowest score wins):
14
#331 - Bart of Denver / @bartofdenver

08/12/2013 at 02:21PM

14
#332 - Oliver Christ / @0liverChrist

09/18/2013 at 07:30PM

14
#333 - nona urbiz / @nospampleasemam

09/28/2013 at 06:44AM

14
#334 - James T. Huggett / @Jmeshka

10/02/2013 at 08:45PM

14
#335 - Billy Ripper / @dirtlamb5

10/23/2013 at 09:35PM

14
#336 - h2g2guy / @h2g2guy

11/01/2013 at 05:23AM

14
#337 - Alessandro Lisander / @wuiimu

01/06/2014 at 11:29PM

14
#338 - Eligor McDragonalds / @gonxed

01/24/2014 at 01:40PM

14
#339 - Jonas K. / @geratheon

02/01/2014 at 03:25PM

14
#340 - Olivier Parent / @oliparcol

02/02/2014 at 03:41PM

14
#341 - ren / @wxoc

02/24/2014 at 08:54AM

14
#342 - barnabaguy / @barnabaguy

03/01/2014 at 10:36PM

14
#343 - Jean-PhilippeBurelle / @jpburelle

03/02/2014 at 04:46AM

14
#344 - devper94 / @devper94

03/16/2014 at 09:29AM

14
#345 - Jacob / @jayekub

03/22/2014 at 11:31PM

14
#346 - Subhi Dweik / @SubhiDweik

06/03/2014 at 12:13AM

14
#347 - Alishah Chator / @alicharizard

06/06/2014 at 05:27PM

14
#348 - Boyang Zhu / @boyangzhu1

06/06/2014 at 07:42PM

14
#349 - compiled wrong / @compiledwrong

06/23/2014 at 12:31AM

14
#350 - Jim Jam / @JimJamGillyWam

06/29/2014 at 02:03AM

14
#351 - Patrick Pitoscia / @Patrick03960431

08/05/2014 at 02:13AM

14
#352 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 02:53PM

14
#353 - deris / @deris0126

11/06/2014 at 11:14PM

14
#354 - Robert Dyer / @NavyJim13

02/09/2015 at 06:31AM

14
#355 - d1uckym d1uckym / @d1uckym

02/19/2015 at 12:46AM

14
#356 - Dmitry Zudochkin / @zudochkin

02/20/2015 at 11:32AM

14
#357 - luffy / @raxcoi

07/12/2015 at 10:02PM

14
#358 - Gerald Tilma / @GeraldTilma

10/19/2015 at 11:46PM

14
#359 - ハチポケッツ / @8pockets

11/20/2015 at 12:42AM

14
#360 - udreki / @udreki

02/20/2016 at 09:27AM