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 54fb143d91984a0e75007579

Fill visual area

Just have fun!

Start file
vim: set nrformats=alpha:
----------
----------
----------
----------
----------
----------
----------
----------
----------
----------
End file
vim: set nrformats=alpha:
jihgfedcba
iihgfedcba
hhhgfedcba
ggggfedcba
fffffedcba
eeeeeedcba
dddddddcba
ccccccccba
bbbbbbbbba
aaaaaaaaaa

View Diff

2,11c2,11
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
< ----------
---
> jihgfedcba
> iihgfedcba
> hhhgfedcba
> ggggfedcba
> fffffedcba
> eeeeeedcba
> dddddddcba
> ccccccccba
> bbbbbbbbba
> aaaaaaaaaa

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 35 remaining solutions by signing in and submitting your own entry
#36 nedlog / @nedlog18 - Score: 118 - 05/06/21 @ 08:38
<Down>dGojihgfedcba<CR>iihgfedcba<CR>hhhgfedcba<CR>ggggfedcba<CR>fffffedcba<CR>eeeeeedcba<CR>dddddddcba<CR>ccccccccba<CR>bbbbbbbbba<CR>aaaaaaaaaa<Esc>:wq<CR>

0 comments


Created by: @mcr05

36 active golfers, 82 entries

Leaderboard (lowest score wins):
20
#1 - Urtica dioica / @udioica

03/07/2015 at 08:28PM

20
#2 - DrHobo / @_DrHobo_

03/09/2015 at 12:46AM

20
#3 - John Braxler / @braxler

03/09/2015 at 06:37PM

20
#4 - Petro Тrouq / @zulolosi

03/10/2015 at 02:04AM

20
#5 - Domingue Justin / @_jdomingue

10/15/2015 at 05:12PM

20
#6 - Daniel Pham / @dany_pham

10/15/2015 at 05:14PM

20
#7 - Yahyalexandre33 / @yahyalexandre33

03/17/2016 at 11:45AM

20
#8 - Jay Knight ♞ / @jayknight

05/03/2018 at 06:46PM

20
#9 - jinx balotchnik / @balotchnik

07/23/2023 at 04:43AM

28
#10 - Tim Chase / @gumnos

03/07/2015 at 08:00PM

28
#11 - Mikael Saltzman / @MikaelSaltzman

03/08/2015 at 03:27PM

28
#12 - Matthew Pryor / @HodgekaGames

03/10/2015 at 04:19PM

31
#13 - Mariano Macchi / @mmacchif

03/08/2015 at 03:02PM

34
#14 - pftb12345 / @pftb12345

04/01/2015 at 03:05PM

34
#15 - mevmev / @mevmev8

11/04/2021 at 12:59AM

35
#16 - Marcin / @Marcin89439917

12/31/2016 at 09:25PM

36
#17 - Ricky / @dechimp

03/08/2015 at 08:28AM

38
#18 - Lifepillar / @lifepillar

07/25/2015 at 08:39PM

46
#19 - Ala' Ibrahim / @alaa_ibrahim

03/10/2015 at 12:57AM

46
#20 - chrisheithoff / @chrisheithoff

03/14/2015 at 03:02AM

46
#21 - Olivier Bégassat / @zk_evm

06/11/2023 at 09:35AM

51
#22 - Paul / @MapCalculator

06/24/2015 at 04:28AM

53
#23 - ylletyll / @ylletyll

03/07/2015 at 08:52PM

53
#24 - Deepak Surti / @dmsurti

03/15/2015 at 03:37PM

54
#25 - Gary Moser / @garyRmoser

03/07/2015 at 08:08PM

54
#26 - Vim Viking / @vim_viking

03/09/2015 at 06:58PM

54
#27 - crittelmeyer / @crittelmeyer

03/10/2015 at 02:27PM

62
#28 - Marcin Brański / @3h4xx

03/08/2015 at 08:26PM

62
#29 - Jeremie / @jermoer

03/09/2015 at 12:20AM

62
#30 - Tuure / @tuure_p

03/15/2021 at 08:59PM