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 438 remaining solutions by signing in and submitting your own entry
#439 Thomas Hiron / @thomashiron - Score: 43 - 02/20/23 @ 10:19
qqG3li<CR>q<BS><Esc>q30@qxkAm<Esc>;q:<Esc><Esc>qqq:cq<BS><BS>wq<CR><Esc><C-C><C-C>:wq<CR>

0 comments


Created by: @Remy_D

439 active golfers, 1581 entries

Leaderboard (lowest score wins):
16
#421 - Brian Peiris / @brianpeiris

12/28/2013 at 06:00AM

16
#422 - Kamil Krzyżanowski / @kamnxt

03/14/2014 at 05:20PM

16
#423 - ɐʇnɥsɐpoʇ / @todashuta

03/26/2015 at 06:38AM

16
#424 - Zach Gulde / @zgulde

02/29/2016 at 05:40AM

16
#425 - Gurukandhamoorthi / @Gurukandhamoor1

07/11/2017 at 02:45PM

16
#426 - Aaron / @_Lordofthevoid_

12/06/2019 at 01:52PM

16
#427 - shahanavaz m / @shahanavazm

04/02/2024 at 01:16AM

17
#428 - Nicolas Friedli / @NicolasFriedli

10/28/2012 at 08:14AM

17
#429 - Daniel / @dpaneda

11/10/2012 at 08:55PM

17
#430 - Erik Daniel / @erik_daniel

06/06/2014 at 06:17PM

17
#431 - shugen / @shugeno

04/01/2015 at 07:24PM

18
#432 - Pablo / @chambawamba358

10/02/2013 at 02:04PM

18
#433 - sinan / @sinan1111111111

02/14/2015 at 03:56PM

20
#434 - Sami Niiranen / @saminiir

10/13/2013 at 06:44PM

21
#435 - Angus Fletcher / @angusiguess

10/19/2012 at 04:14PM

23
#436 - wilddog64 / @chengkai318

12/17/2013 at 07:20PM

24
#437 - Arjen Dijkstra / @u_boot

09/15/2012 at 05:35PM

27
#438 - Joshua Travis / @jktravis

11/11/2012 at 01:44AM

43
#439 - Thomas Hiron / @thomashiron

02/20/2023 at 10:19AM