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 445 remaining solutions by signing in and submitting your own entry
#446 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

446 active golfers, 1606 entries

Leaderboard (lowest score wins):
8
#31 - MP / @Enemy_m

09/05/2013 at 07:08PM

8
#32 - Petro Тrouq / @zulolosi

09/05/2013 at 07:11PM

8
#33 - isayoldchap / @isayoldchap

09/07/2013 at 09:58PM

8
#34 - yaon / @yaon4

09/12/2013 at 10:53AM

8
#35 - Adam McLain / @adammclain

10/02/2013 at 10:43PM

8
#36 - Stephen Drodge / @sjdrodge

10/07/2013 at 11:22PM

8
#37 - albert peng / @holoiii

11/07/2013 at 01:50AM

8
#38 - Jonathan Potter / @nTypeRed

11/12/2013 at 08:09PM

8
#39 - gary.klindt@googlema / @garstekli

11/19/2013 at 12:44AM

8
#40 - Nathan Wallace / @nathanmwallace

11/27/2013 at 02:57PM

8
#41 - Joshua Appelman / @JoshuaAppelman

12/21/2013 at 09:14PM

8
#42 - Herrington Darkholme / @nonamesheep

12/31/2013 at 08:54AM

8
#43 - adi li / @guessimtoolate

01/22/2014 at 09:24PM

8
#44 - Ali El Amine / @Allouch95

02/02/2014 at 07:59PM

8
#45 - Mina Naguib / @minaguib

02/25/2014 at 01:56AM

8
#46 - Andrew O'Neill / @AndroidOatmeal

02/27/2014 at 02:46PM

8
#47 - Hannes Remahl / @hannesr

02/28/2014 at 04:03PM

8
#48 - Yiyang Chen / @stackngxc

03/09/2014 at 03:01PM

8
#49 - John Braxler / @braxler

03/20/2014 at 07:00PM

8
#50 - Pedro Santos / @pedrosans

03/25/2014 at 07:58PM

8
#51 - Rob Glew / @RealGlew

06/09/2014 at 02:46PM

8
#52 - Robert Bruce / @therealrobru

06/12/2014 at 11:25PM

8
#53 - John Meisner / @jmeisned

06/24/2014 at 10:36PM

8
#54 - Paul Carter / @paulcarter7

06/25/2014 at 11:12PM

8
#55 - playalong / @playwithit42

07/09/2014 at 09:07AM

8
#56 - Caek / @Caek_

07/17/2014 at 02:04AM

8
#57 - Rafee / @rafee_buet

07/22/2014 at 04:01PM

8
#58 - RiccardoSven Risuleo / @riccardosven

07/22/2014 at 08:04PM

8
#59 - PLS / @jaegd

08/17/2014 at 04:11AM

8
#60 - Amir Kremer / @AmirKremer

08/17/2014 at 12:48PM