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):
11
#271 - Justin / @justinjaffray

07/03/2013 at 04:50PM

11
#272 - Bunwut Tson / @NbTson

09/02/2013 at 06:36PM

11
#273 - Eric Potter / @pottereric

12/19/2013 at 04:55PM

11
#274 - Zach Kemp / @zvksf

12/21/2013 at 12:46AM

11
#275 - Fabien Cazenave / @fabi1cazenave

01/01/2014 at 08:20PM

11
#276 - CJ Avilla / @cjav_dev

05/11/2014 at 12:17AM

11
#277 - William Ott / @oddalot

04/09/2015 at 04:37AM

11
#278 - Jonathan Camilleri / @Too_Many_Taken

06/10/2018 at 03:49PM

12
#279 - Thijs Brobbel / @tiesmaster

10/14/2012 at 12:53PM

12
#280 - Rob Grijs / @robgrijs

10/14/2012 at 04:07PM

12
#281 - Nico Kruger / @nicok_za

11/09/2012 at 11:43AM

12
#282 - Christopher Patti / @feoh

11/28/2012 at 09:08PM

12
#283 - Kenneth Waters / @gen_witt

12/04/2012 at 03:28AM

12
#284 - Tetsuya Matsuyama / @m_tetsuya

12/30/2012 at 01:34PM

12
#285 - Jeremiah / @jeremiahishere

02/05/2013 at 06:09PM

12
#286 - mwcz / @mwcz

11/01/2013 at 06:01PM

12
#287 - John Gray Cole / @johngraycole

12/25/2013 at 02:35PM

12
#288 - Robert Siemieniec / @rsiemieniec

03/05/2014 at 10:28AM

12
#289 - Greg / @developergreg

09/08/2014 at 02:40AM

12
#290 - Malte R / @maltoe

11/10/2014 at 04:09PM

12
#291 - SilentFl / @Silent_Fl

01/27/2015 at 11:22AM

12
#292 - Kirill Cherkashin / @kirjs

09/22/2015 at 02:58PM

12
#293 - Bhatta Sushmith / @bsushmith

08/26/2017 at 04:40AM

12
#294 - Ivo Blöchliger / @aigledesalpes

08/14/2019 at 06:23PM

12
#295 - Jin-hyeok Kim / @JinhyeokKim12

03/30/2023 at 07:27AM

13
#296 - Matt Boehm / @mattboehm

11/08/2012 at 01:57AM

13
#297 - Davidovich / @IamDavidovich

11/08/2012 at 02:00AM

13
#298 - Nick Reynolds / @ndreynolds

12/18/2012 at 09:06PM

13
#299 - Amy / @imightbeAmy

02/17/2013 at 04:46AM

13
#300 - Steven Herbst / @transistorman

02/25/2013 at 01:48AM