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 50f1b2e316e0bb0002000051

Circle in a square

Probably looks more like "Egg in a rectangle" in most fonts, but it's actually 23x23.

Start file
#######
###########
###############
#################
###################
###################
#####################
#####################
#######################
#######################
#######################
#######################
#######################
#######################
#######################
#####################
#####################
###################
###################
#################
###############
###########
#######
End file
........#######........
......###########......
....###############....
...#################...
..###################..
..###################..
.#####################.
.#####################.
#######################
#######################
#######################
#######################
#######################
#######################
#######################
.#####################.
.#####################.
..###################..
..###################..
...#################...
....###############....
......###########......
........#######........

View Diff

1,8c1,8
< #######
< ###########
< ###############
< #################
< ###################
< ###################
< #####################
< #####################
---
> ........#######........
> ......###########......
> ....###############....
> ...#################...
> ..###################..
> ..###################..
> .#####################.
> .#####################.
16,23c16,23
< #####################
< #####################
< ###################
< ###################
< #################
< ###############
< ###########
< #######
---
> .#####################.
> .#####################.
> ..###################..
> ..###################..
> ...#################...
> ....###############....
> ......###########......
> ........#######........

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 53 remaining solutions by signing in and submitting your own entry
#54 RobertT / @techrt2050 - Score: 101 - 10/03/13 @ 03:30
q88I.<Esc>8A.<Esc>qjq66I.<Esc>6A.<Esc>qjq44I.<Esc>4A.<Esc>qjq33I.<Esc>3A.<Esc>qjq22I.<Esc>2A.<Esc>qj@2jq1I.<Esc>A.<Esc>qj@1G@8k@6k@4k@3k@2k@2k@1k@1ZZ

0 comments


Created by: @udioica

54 active golfers, 152 entries

Leaderboard (lowest score wins):
23
#1 - talineo / @talineo_

01/31/2013 at 10:25PM

23
#2 - Urtica dioica / @udioica

02/03/2013 at 08:31AM

23
#3 - Trevor Powell / @DoomedBunnies

03/21/2013 at 03:45AM

23
#4 - Ingo / @ist3fani

05/30/2013 at 12:31PM

23
#5 - Bradd Szonye / @bszonye

07/15/2013 at 05:30AM

23
#6 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

07/31/2013 at 01:01AM

23
#7 - Dimitar Dimitrov / @kurkale6ka

10/15/2013 at 04:37PM

23
#8 - Matthew Draper / @_matthewd

02/28/2014 at 06:17PM

23
#9 - John Braxler / @braxler

05/28/2014 at 07:13PM

23
#10 - Evgeny`s Kindle / @EvgenyKindle

05/14/2018 at 06:57AM

23
#11 - Daniël De Koker / @daniel_koker

07/18/2018 at 02:23PM

23
#12 - Peppa Pig / @PeppaPi95550250

05/19/2024 at 10:07AM

24
#13 - Roberto Bonvallet / @rbonvall

04/12/2013 at 11:03PM

25
#14 - Øystein Walle / @oysteinwalle

01/30/2013 at 05:15PM

25
#15 - Heath Patterson / @HeathPatterson

08/05/2013 at 08:47PM

26
#16 - Joel Elkins / @dice_tea

03/02/2013 at 07:15PM

28
#17 - Kerson Hsiao / @KersonHsiao

01/14/2013 at 03:10AM

29
#18 - Tobias Praetsch / @tpraetsch

02/17/2013 at 12:01AM

29
#19 - Vito / @GodFather

03/03/2013 at 08:34PM

31
#20 - Joonas Pihlajamaa / @jokkebk

03/16/2014 at 06:16PM

34
#21 - Marco Hinz / @_mhinz_

01/13/2013 at 01:50PM

36
#22 - Veg / @originalveghead

01/13/2013 at 09:48PM

37
#23 - fabiano taddei / @Brodoblu

02/08/2013 at 10:33PM

38
#24 - cauchyschwarz / @cauchyschwarz

01/13/2023 at 11:53PM

43
#25 - Luan Santos / @cfcluan

01/26/2013 at 08:38AM

44
#26 - Oscar Friberg / @oscfri

02/08/2013 at 07:46PM

45
#27 - Gabriele Lana / @gabrielelana

01/22/2013 at 08:10PM

45
#28 - Pacific Grove / @frank_green_012

03/31/2023 at 07:02AM

46
#29 - jganong / @jganong

01/19/2013 at 12:04AM

47
#30 - django unchained / @DjangoTuxg

01/17/2013 at 11:37PM