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):
9
#181 - brett / @brettyukich

09/19/2013 at 10:14PM

9
#182 - foo / @foo88832727

10/18/2013 at 08:34PM

9
#183 - Casey Dwyer / @caseydwyer

10/24/2013 at 10:07PM

9
#184 - bunnies president / @bunnies4p

10/27/2013 at 09:28AM

9
#185 - Karun Ramakrishnan / @the_karun

12/13/2013 at 10:05PM

9
#186 - Grimy / @Yurhon

12/16/2013 at 08:44PM

9
#187 - pikaren / @REALpikaren

12/23/2013 at 03:41PM

9
#188 - Shu-Min Yang / @ShuMinYang

01/09/2014 at 06:37AM

9
#189 - Andreas Källberg / @Anka213

01/17/2014 at 05:28AM

9
#190 - Quota / @Quotad

01/17/2014 at 08:57AM

9
#191 - Joonas Pihlajamaa / @jokkebk

02/19/2014 at 10:23AM

9
#192 - Thomas GUILLORY / @thomasguillory

03/16/2014 at 05:47PM

9
#193 - Marchand Paul-Valère / @pvmarch

03/17/2014 at 12:50PM

9
#194 - Kyle Travis / @kmakai

05/19/2014 at 03:15PM

9
#195 - Sntano Euhsk / @SEuhsk

06/06/2014 at 07:41PM

9
#196 - bXpjE4GzUfnPTRHes1mI / @5DQzMDKJs2VoVt

07/03/2014 at 06:04PM

9
#197 - Michi Loro / @michiloro

07/29/2014 at 10:46AM

9
#198 - LC / @leeren

08/09/2014 at 08:37PM

9
#199 - Dario Avitabile / @tutticapaci

09/13/2014 at 07:30AM

9
#200 - Justin Knag / @justinknag

09/16/2014 at 06:39AM

9
#201 - Michael Comerford / @MComerford1

09/23/2014 at 12:42AM

9
#202 - Sabiki94@ブルスクの人 / @_jptomoya

10/18/2014 at 10:46AM

9
#203 - Jose Gutierrez / @Jogusa

10/19/2014 at 11:13AM

9
#204 - eBrnd / @eBrnd

11/02/2014 at 09:01PM

9
#205 - Matt / @mcr05

12/11/2014 at 02:57PM

9
#206 - no name / @vimgol

01/29/2015 at 06:25PM

9
#207 - mark0829 / @mark0829

02/03/2015 at 11:51AM

9
#208 - xieyh11 / @xieyh11

02/28/2015 at 04:16AM

9
#209 - TheProgrammer971 / @tp971

03/14/2015 at 02:48PM

9
#210 - Skúli Jóhannsson / @skulibj

06/26/2015 at 10:39PM