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
#361 - Kyouma / @kyoumaJohn

10/14/2016 at 07:01PM

14
#362 - Jonas Sunde V / @sunde_v

08/04/2017 at 05:26PM

14
#363 - Austin Ware / @AustinWare17

03/12/2018 at 09:23PM

14
#364 - Brent Woo / @BrentPWoo

10/02/2018 at 06:07PM

14
#365 - Blah Blah / @BlahBla08410389

01/12/2019 at 09:32PM

14
#366 - iBhagwan / @iiBhagwan

06/03/2020 at 10:18PM

14
#367 - Daniel Habib / @danielhvs

08/02/2020 at 04:20PM

15
#368 - . / @mzec

09/17/2012 at 04:08PM

15
#369 - Rodolphe Belouin / @rbelouin

09/20/2012 at 01:27PM

15
#370 - Vijay Dev / @vijay_dev

09/21/2012 at 06:43PM

15
#371 - Roger Spencer / @RojSpencer

09/27/2012 at 01:08AM

15
#372 - Carsten Zimmermann / @carpgezwitscher

09/29/2012 at 09:56AM

15
#373 - GimVolfer VimGolfer / @GimGol

09/29/2012 at 08:54PM

15
#374 - Lajos Koszti / @Ajnasz

10/04/2012 at 08:12PM

15
#375 - Matthew LeBourgeois / @mwlebour

10/18/2012 at 12:04PM

15
#376 - matthew keesan / @keesan

10/23/2012 at 04:01AM

15
#377 - retired account / @retired10072015

10/23/2012 at 05:45PM

15
#378 - Ed / @lonedon

10/24/2012 at 12:12AM

15
#379 - Chasetopher / @chasetopherlee

10/30/2012 at 03:44AM

15
#380 - Underhill Labs / @underhilllabs

10/31/2012 at 03:37AM

15
#381 - Alec Chen / @alec929

11/03/2012 at 12:52PM

15
#382 - Michael / @patheticpat

12/16/2012 at 06:31PM

15
#383 - James Thomson / @jomsie

02/27/2013 at 05:03PM

15
#384 - Forrest Zeisler / @fzeisler

04/19/2013 at 01:48PM

15
#385 - Woojung Kim 김우중 / @_kimwz

07/15/2013 at 04:31AM

15
#386 - Trae Robrock / @trobrock

07/23/2013 at 01:12AM

15
#387 - Hersh Singh / @HershSingh

12/15/2013 at 06:36PM

15
#388 - Alexander Bandukwala / @abanduk

02/27/2014 at 10:44PM

15
#389 - Peter Strawson / @PeterStrawson

04/18/2014 at 10:41AM

15
#390 - Ian Pudney / @IanPudney

06/06/2014 at 06:03PM