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
#241 - Levi Wheeler / @LeviWhe68726437

06/14/2022 at 09:44PM

10
#242 - J As / @capitancambio

10/01/2012 at 12:04PM

10
#243 - Leigh Bicknell / @LeighBicknell

10/09/2012 at 11:03AM

10
#244 - Norseman Rabett / @nrabett

10/12/2012 at 03:52PM

10
#245 - Andy C / @ggez44

10/16/2012 at 03:46AM

10
#246 - Chaos / @gbchaosmaster

10/29/2012 at 12:16AM

10
#247 - Miguel Diaz / @tiomiguel

11/01/2012 at 06:39PM

10
#248 - Mac Heller-Ogden / @twosoul

11/10/2012 at 07:05PM

10
#249 - makala noble / @mnoble01

11/13/2012 at 06:57AM

10
#250 - Emile Swarts / @EmileSwarts

11/18/2012 at 08:37PM

10
#251 - Panupan S. / @lionpeal

01/11/2013 at 09:28PM

10
#252 - Larry Zappaterrini / @lazappa

07/19/2013 at 03:36AM

10
#253 - Hachez Floran / @FloranHachez

09/06/2013 at 10:39PM

10
#254 - Fernando Axel Ellis / @Axel_Ellis

09/17/2013 at 03:11PM

10
#255 - Gwilym Kuiper / @gwilymk

10/17/2013 at 08:09PM

10
#256 - D / @justcallmedrago

12/15/2013 at 01:16AM

10
#257 - Afonso Matos / @afonsolfm

09/19/2015 at 12:49PM

10
#258 - Aaron Fortune / @aaron_fortune

09/20/2015 at 04:21AM

11
#259 - Justin / @justinjaffray

07/03/2013 at 04:50PM

11
#260 - Bunwut Tson / @NbTson

09/02/2013 at 06:36PM

11
#261 - Eric Potter / @pottereric

12/19/2013 at 04:55PM

11
#262 - Zach Kemp / @zvksf

12/21/2013 at 12:46AM

11
#263 - Fabien Cazenave / @fabi1cazenave

01/01/2014 at 08:20PM

11
#264 - CJ Avilla / @wizemanip

05/11/2014 at 12:17AM

11
#265 - William Ott / @oddalot

04/09/2015 at 04:37AM

11
#266 - Jonathan Camilleri / @Too_Many_Taken

06/10/2018 at 03:49PM

12
#267 - Thijs Brobbel / @tiesmaster

10/14/2012 at 12:53PM

12
#268 - Rob Grijs / @robgrijs

10/14/2012 at 04:07PM

12
#269 - Nico Kruger / @nicok_za

11/09/2012 at 11:43AM

12
#270 - Christopher Patti / @feoh

11/28/2012 at 09:08PM