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 51103ad8041832000200003f

vim = 22 / 7

pi square vim

Start file
vim
End file
 v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
 m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
 v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
 m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
 v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
 m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
 v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
 m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
 v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
 m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
 v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
 m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
 v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
 m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m

View Diff

1c1,21
< vim
---
>  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
> vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
>  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
>  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
> vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
>  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
>  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
> vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
>  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
>  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
> vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
>  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
>  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
> vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
>  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
>  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
> vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
>  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m
>  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
> vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
>  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m  m

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 125 remaining solutions by signing in and submitting your own entry
#126 Justin Knag / @justinknag - Score: 402 - 08/28/14 @ 15:17
yw21Pyy6pggO V<BS>vm<BS>  <C-C><C-C>v0y21Puvllllllhy$xl21puhhhhllllllllli  <C-C><C-C>jjkkllllllllllhllivjj<C-C><C-C>uhll0v$y$21puvhhhhhhy$21pkddkujklxxujju<C-R><C-R><C-R><C-R><C-R>ddO v<BS><BS><BS>jj<BS><BS><BS><C-C><C-C>hqa qkqsa<C-C><C-C>qqa kqqasq<C-C><C-C>qujkqa qkqai v q<BS><C-C><C-C>q21@ajjui  V<BS>v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v  v<C-C><C-C>yyj2pjjjk2pjjjkukkh:%s:3/v<CR>:3/v<CR>:3/v<CR>:<Up>/m/g<CR>:3,3s/v/m/g<CR>:noh<CR>2yyjjp2jp2jpj2jkpjjpjjpjdd$xkllkxklxkklxklxkklxklxklkxklxkklxklxkklxklxkkklxZZ

0 comments


Created by: @zulolosi

126 active golfers, 408 entries

Leaderboard (lowest score wins):
24
#61 - Patricio Clark / @PatricioClark

03/04/2013 at 02:38AM

24
#62 - Maarten Claes / @maartencls

03/29/2013 at 07:45PM

24
#63 - Vinicius Souza / @vsouzas

06/06/2013 at 12:34AM

24
#64 - cj / @cj01101

08/08/2013 at 12:24PM

24
#65 - gary.klindt@googlema / @garstekli

12/01/2013 at 08:02PM

24
#66 - Ian Liu Rodrigues / @ianliu88

01/07/2014 at 04:23PM

24
#67 - Patrick Oscity / @der_padde

02/11/2014 at 01:43PM

24
#68 - Robert Siemieniec / @rsiemieniec

02/18/2014 at 02:33PM

24
#69 - ところたん / @tokoro10g

04/06/2014 at 03:50PM

24
#70 - Gerald Tilma / @GeraldTilma

10/23/2015 at 04:04AM

25
#71 - Tye Harrison / @TyeHarrison

05/14/2013 at 03:40AM

25
#72 - Juan Luis / @rufianw

07/03/2014 at 03:39AM

26
#73 - Oscar Friberg / @oscfri

02/08/2013 at 06:52PM

27
#74 - adi li / @guessimtoolate

02/05/2013 at 07:59AM

27
#75 - Ingo / @ist3fani

07/29/2013 at 09:31PM

27
#76 - Paul Roberts / @psxpau1

10/13/2013 at 07:53AM

29
#77 - chris / @chris53143606

12/26/2013 at 09:26PM

29
#78 - 土ヤ / @ttsuchiya

06/08/2014 at 03:09PM

30
#79 - GimVolfer VimGolfer / @GimGol

03/05/2013 at 02:48PM

30
#80 - Matthew Leadbetter / @Halty

10/17/2014 at 04:34PM

31
#81 - Colin Garriga-Salaün / @cgarrigasalaun

09/24/2013 at 01:02PM

31
#82 - Gurukandhamoorthi / @Gurukandhamoor1

07/23/2017 at 03:29PM

32
#83 - Thomas Royer / @Cydonia7

04/10/2013 at 02:25PM

32
#84 - Romain Pomier / @RPomier

04/15/2013 at 07:13PM

32
#85 - powertomato / @powertomato

07/10/2013 at 12:09AM

32
#86 - RobertT / @techrt2050

07/18/2013 at 05:43AM

33
#87 - vansan / @VinceVansan

02/05/2013 at 11:39PM

33
#88 - Milton Soares Filho / @miltonsoaresf

02/19/2013 at 04:23PM

33
#89 - Sikado / @sikado

02/20/2013 at 04:48PM

33
#90 - gnobbles / @gnobbles

04/06/2013 at 06:18AM