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):
20
#31 - Joaquin Coronel / @cantstoptheguac

02/08/2017 at 11:11PM

20
#32 - Turkey Man / @lvturkeyman

11/26/2017 at 09:38AM

20
#33 - DHM / @DHM29978992

05/01/2018 at 02:32AM

20
#34 - Mihai / @mihaicristiant

02/25/2019 at 03:20PM

20
#35 - Miłosz Łakomy / @foobar01123

03/28/2020 at 12:38PM

21
#36 - xRyanxBrutalityx / @xHainingx

02/13/2013 at 12:12AM

21
#37 - Zach Kelling / @zeekay

02/23/2013 at 08:27PM

21
#38 - Forrest Zeisler / @fzeisler

04/19/2013 at 02:19PM

21
#39 - Justin / @justinjaffray

04/26/2013 at 01:43AM

21
#40 - Aleksander Pohl / @AleksanderPohl

04/27/2013 at 01:54PM

21
#41 - Tresifina / @Tresifina

05/23/2013 at 02:42AM

21
#42 - Hachez Floran / @FloranHachez

09/04/2013 at 08:45AM

21
#43 - Grimy / @Yurhon

12/15/2013 at 02:46PM

21
#44 - Dimitar Dimitrov / @kurkale6ka

04/14/2016 at 10:30AM

21
#45 - jakeroberts / @jakeroberts

05/28/2017 at 03:25PM

21
#46 - Lory / @Lory46845742

12/12/2019 at 03:42PM

22
#47 - Asmund / @herrasbe

02/05/2013 at 05:16PM

22
#48 - Dheeraj Sayala / @dheerosaur

03/27/2013 at 10:31PM

22
#49 - Ben Zittlau / @benzittlau

04/18/2013 at 10:21PM

22
#50 - Charlene Tshos / @charlymul

04/27/2013 at 09:46AM

23
#51 - Daniel Lundin / @danielundin

02/06/2013 at 02:35PM

23
#52 - N / @nymph192

02/11/2013 at 08:31PM

23
#53 - Amy / @imightbeAmy

02/15/2013 at 07:20PM

23
#54 - jeepee / @jeepee_test

06/07/2013 at 12:15PM

23
#55 - Nathan / @NathanHarperoni

08/02/2013 at 04:31PM

23
#56 - Marcin Sza / @coot_

10/24/2013 at 09:34PM

23
#57 - Casey Dwyer / @caseydwyer

11/04/2013 at 04:52AM

23
#58 - Quota / @Quotad

01/30/2014 at 08:30AM

23
#59 - Joonas Pihlajamaa / @jokkebk

02/25/2014 at 12:41PM

23
#60 - Cristian Lupașcu / @clupasq

03/11/2016 at 08:44AM