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
#91 - Turkey Man / @lvturkeyman

11/19/2017 at 04:36AM

8
#92 - Rubén Laguna / @ecerulm

11/26/2017 at 08:21PM

8
#93 - BarbaJol / @drpproteus

01/02/2018 at 03:01PM

8
#94 - ParasamGateZero / @ParasamGateZero

02/23/2018 at 07:53AM

8
#95 - DHM / @DHM29978992

04/28/2018 at 02:53PM

8
#96 - Daniël De Koker / @daniel_koker

07/04/2018 at 04:24PM

8
#97 - Dax / @zacoxi

11/16/2018 at 07:21AM

8
#98 - Patrick Lavin / @LavinComputes

01/30/2019 at 09:58PM

8
#99 - alekfed / @alek_fed

04/15/2019 at 07:16PM

8
#100 - Дима / @dimkino

05/31/2019 at 10:12PM

8
#101 - Ben M / @Sweet_Scientist

06/07/2019 at 06:00AM

8
#102 - vimgolfer / @vimgolfer7

10/08/2019 at 01:09PM

8
#103 - Miłosz Łakomy / @foobar01123

11/24/2019 at 11:49AM

8
#104 - Vladimir Leskov / @vladimirlesk

11/25/2019 at 11:35PM

8
#105 - James Casey / @hanavi

12/22/2019 at 08:21PM

8
#106 - JimmyGymglish / @JGymglish

01/15/2020 at 01:37PM

8
#107 - cyndiii-development / @cyndiiidevelop1

06/06/2020 at 08:46AM

8
#108 - kashikasitaro / @kashikasitaro

06/13/2020 at 06:19AM

8
#109 - 永田翼 / @TsubasaNagata

06/13/2020 at 07:20AM

8
#110 - RockerZZY / @rocker_zzy

06/13/2020 at 12:54PM

8
#111 - Jason / @roosjason

07/19/2020 at 06:43AM

8
#112 - Vinay Sharma / @VinaySh63956554

08/14/2020 at 03:43PM

8
#113 - TimMcGuire / @mcguire

09/11/2020 at 12:51AM

8
#114 - chocolate / @chocola81394123

11/27/2020 at 08:26AM

8
#115 - A A A / @37fatos

01/21/2021 at 01:12AM

8
#116 - vim_maxter / @MaxterVim

07/02/2021 at 02:02PM

8
#117 - lydxn / @lydxn1

07/27/2021 at 05:04AM

8
#118 - Scott Atkins / @scottrick49

10/25/2021 at 03:25PM

8
#119 - POSIX / @po6ix

01/24/2022 at 01:42PM

8
#120 - JVIM / @JVIM101

02/24/2022 at 04:30PM