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):
48
#31 - Matthew Ryan / @mrmr1993

02/06/2013 at 03:01PM

50
#32 - Miłosz Łakomy / @foobar01123

06/02/2016 at 09:14PM

50
#33 - Olivier Bégassat / @zk_evm

06/15/2023 at 05:51PM

51
#34 - Kai Yuan / @kentyuan

02/22/2013 at 01:02AM

51
#35 - vuems / @vuems2win

12/01/2022 at 11:04AM

52
#36 - Christopher Harrison / @Xophmeister

01/26/2013 at 06:40PM

54
#37 - Édouard M'tou / @DouardM

01/13/2013 at 07:28PM

55
#38 - Lieven Keersmaekers / @LievenKeersmaek

01/13/2013 at 06:52PM

56
#39 - cj / @cj01101

08/26/2013 at 09:41PM

66
#40 - Alex Podaras / @apodaras

10/25/2013 at 05:55PM

66
#41 - nickGPT / @nickandbro

08/28/2024 at 06:55PM

69
#42 - Yann Moisan / @YannMoisan

01/13/2013 at 03:09PM

69
#43 - Kurt Robert Rudolph / @krudolph9

01/13/2013 at 08:23PM

71
#44 - martha / @hellomartha

01/16/2013 at 01:22PM

71
#45 - Andrés Llopis / @andreselsuave

03/04/2013 at 01:31AM

72
#46 - Runar / @runarfu

01/13/2013 at 10:08AM

76
#47 - AC / @quadface

10/03/2014 at 08:24PM

79
#48 - Peter Lacey-Bordeaux / @placeybordeaux

01/16/2013 at 03:36PM

84
#49 - じょんあば / @john_ababa

02/10/2013 at 09:22AM

90
#50 - Oliver Christ / @0liverChrist

10/07/2013 at 09:53PM

98
#51 - Pradeep Kumar 🇮🇳🇮🇳🇮🇳🇮🇱🇮🇱🇮🇱 / @pradeep6kumar

01/13/2013 at 12:44PM

98
#52 - くま ก็็็็็็็็็็็็็ʕ•͡ᴥ•ʔ ก้้้้้้้้้้้ 55 / @kumack55

04/03/2013 at 07:27AM

99
#53 - Vim Golfer / @vimgolfern00b

01/16/2013 at 10:29AM

101
#54 - RobertT / @techrt2050

10/03/2013 at 03:30AM