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
#211 - Elizabeth / @sprinkles418

07/02/2015 at 04:33PM

9
#212 - Andrew Michaud / @andrewjmichaud

09/08/2015 at 08:28PM

9
#213 - François Marais / @maraisf

10/02/2015 at 04:53AM

9
#214 - kiou / @smallletterquu

12/05/2015 at 01:40AM

9
#215 - fuck GFW / @ravishGFW

01/05/2016 at 11:56AM

9
#216 - Jon Krause / @jkrause314

01/05/2016 at 09:50PM

9
#217 - Dimitar Dimitrov / @kurkale6ka

03/15/2016 at 05:28PM

9
#218 - Chenut Ludovic / @7Brwa7

04/05/2016 at 09:37AM

9
#219 - Cristian Lupașcu / @clupasq

05/06/2016 at 11:52AM

9
#220 - Ram Tamtam / @ramtamtamtam

07/01/2016 at 09:33AM

9
#221 - Micha / @michman89

08/20/2016 at 09:01PM

9
#222 - javier castro / @eusipial

09/19/2016 at 04:46AM

9
#223 - TweetDreams / @TweetMusicians

10/15/2016 at 11:57PM

9
#224 - Michał Dytko / @DytkoM

12/23/2016 at 01:03PM

9
#225 - Saki Gw / @Sakigw

01/28/2017 at 02:22AM

9
#226 - Antony Scriven / @antonyscriven

02/03/2017 at 05:00PM

9
#227 - harpocrates744 / @harpocrates744

09/06/2017 at 12:15AM

9
#228 - Ben Hill / @KaizenSoze70

10/09/2017 at 01:33PM

9
#229 - Brendan B Amdocs / @AmdocsB

10/31/2018 at 05:13PM

9
#230 - name / @name65894813

11/23/2018 at 09:30PM

9
#231 - Mihai / @mihaicristiant

12/21/2018 at 03:12PM

9
#232 - Chester Yap / @Chest_ErYap

07/20/2019 at 07:50PM

9
#233 - Ariel Miculas / @ArielMiculas

09/24/2019 at 04:09PM

9
#234 - Lory / @Lory46845742

11/19/2019 at 11:11AM

9
#235 - etherflow / @etherfl0w

03/30/2020 at 07:54PM

9
#236 - roudens / @roudens2

01/16/2021 at 02:28AM

9
#237 - hepebexè / @hepebexe

01/17/2021 at 09:12PM

9
#238 - Michel Viktor / @tomkpz

08/11/2021 at 02:47AM

9
#239 - Jean George / @JeanGeo20504212

12/14/2021 at 08:14PM

9
#240 - Auri Iodide / @auri_iodide

03/09/2022 at 12:16AM