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 54514fd7238fe900021e7c42

Shift down

Number words are back.

Start file
one two three

four five six

seven eight nine
End file
one
    two
        three

four
     five
          six

seven
      eight
            nine

View Diff

1c1,3
< one two three
---
> one
>     two
>         three
3c5,7
< four five six
---
> four
>      five
>           six
5c9,11
< seven eight nine
---
> seven
>       eight
>             nine

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 68 remaining solutions by signing in and submitting your own entry
#69 F Prades Illanes / @fprades - Score: 67 - 10/30/14 @ 13:48
ea<CR>    <Esc>ea<CR>    <Esc>wwwea<CR>     <Esc><Esc>ea<CR>     <Esc><Down><Down><Left><Left><Left><Left>i<CR>      <Esc>ea<CR>      <Esc>:wq<CR>

0 comments


Created by: @udioica

69 active golfers, 209 entries

Leaderboard (lowest score wins):
19
#1 - Hans Liu / @zhansliu

10/30/2014 at 12:14AM

19
#2 - Urtica dioica / @udioica

10/30/2014 at 01:02AM

19
#3 - Tim Chase / @gumnos

10/30/2014 at 01:11AM

19
#4 - Kai Yuan / @kentyuan

10/30/2014 at 10:26AM

19
#5 - Dane Summers / @dsummersl

10/30/2014 at 01:24PM

19
#6 - Marcin Radomski / @_dextero

10/30/2014 at 02:41PM

19
#7 - John Braxler / @braxler

10/30/2014 at 05:06PM

19
#8 - Jay R Bolton / @the_swerve

10/30/2014 at 06:04PM

19
#9 - Petro Тrouq / @zulolosi

10/30/2014 at 07:43PM

19
#10 - Caek / @Caek_

10/30/2014 at 10:19PM

19
#11 - retired account / @retired10072015

11/01/2014 at 10:38AM

19
#12 - Max Edmands 🐭 / @thismax

11/06/2014 at 07:25AM

19
#13 - Tonda Minařík / @Eari359

11/06/2014 at 01:31PM

19
#14 - Ivan Brennan / @ivanbrennan

12/06/2014 at 06:55AM

19
#15 - Jake Eskel / @JakeEskel

01/02/2015 at 04:38PM

19
#16 - はやぶさ / @haya14busa

01/08/2015 at 07:30PM

19
#17 - Walker Boh / @walker_boh

10/16/2015 at 03:06PM

19
#18 - DHM / @DHM29978992

05/28/2018 at 02:13AM

19
#19 - Turkey Man / @lvturkeyman

07/27/2018 at 03:07AM

19
#20 - vimgolfer / @vimgolfer7

12/01/2019 at 03:10AM

19
#21 - Peppa Pig / @PeppaPi95550250

06/30/2024 at 03:59AM

19
#22 - nickGPT / @nickandbro

08/28/2024 at 11:11AM

20
#23 - Harold Pong / @har2po

11/05/2014 at 02:44PM

20
#24 - mark0829 / @mark0829

02/03/2015 at 02:31PM

20
#25 - xieyh11 / @xieyh11

03/01/2015 at 03:08AM

20
#26 - James Potter / @JJPotterkowski

11/02/2015 at 09:39PM

20
#27 - Daniel / @Daniel00288663

04/05/2017 at 02:02PM

20
#28 - Mihai / @mihaicristiant

04/10/2019 at 08:42AM

20
#29 - Jean George / @JeanGeo20504212

06/02/2022 at 12:08PM

21
#30 - kobby / @_kafdot_

12/14/2014 at 08:16AM