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 59381bd3652ee10dec000005

create arrows in a list

Add arrow at same distance

Start file
milk
coffe
toothpaste
potatoes
tomatoes
nuts
tuna cans
End file
milk       -->
coffe      -->
toothpaste -->
potatoes   -->
tomatoes   -->
nuts       -->
tuna cans  -->

View Diff

1,7c1,7
< milk
< coffe
< toothpaste
< potatoes
< tomatoes
< nuts
< tuna cans
---
> milk       -->
> coffe      -->
> toothpaste -->
> potatoes   -->
> tomatoes   -->
> nuts       -->
> tuna cans  -->

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 54 remaining solutions by signing in and submitting your own entry
#55 Will Gunther / @WillGunther - Score: 14 - 06/11/17 @ 18:56
7A <Esc><C-V>6jA--><Esc>ZZ

0 comments


Created by: @virako

55 active golfers, 65 entries

Leaderboard (lowest score wins):
10
#31 - Rathrio / @Rathrio

06/13/2017 at 10:43PM

10
#32 - John Smith / @johns32768

06/16/2017 at 07:37PM

10
#33 - kanazawak / @_kanazawak

06/18/2017 at 02:53PM

10
#34 - ~ben / @nebsirrah

06/20/2017 at 04:49PM

10
#35 - Joel Meyer-Hamme / @JoelMeyerHamme

06/21/2017 at 12:40PM

10
#36 - el pollo diablo / @bjagojevich

06/25/2017 at 04:04AM

10
#37 - Mayank Suman / @mayank_suman

06/25/2017 at 02:24PM

10
#38 - Bennett Bernardoni / @BBernardoni

06/29/2017 at 02:32PM

10
#39 - Jacob Buete / @JBuete

07/02/2017 at 02:21PM

10
#40 - Ben Hill / @KaizenSoze70

07/07/2017 at 12:38PM

10
#41 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 01:26PM

10
#42 - Paul Inc / @hiniol1982

07/13/2017 at 04:37PM

10
#43 - Plop plop / @plopplopplop6

08/08/2017 at 06:28PM

10
#44 - herbage / @herbage2

09/17/2017 at 06:10AM

10
#45 - Bradley M. Small / @BradleySmall

11/23/2017 at 02:19AM

10
#46 - Turkey Man / @lvturkeyman

11/23/2017 at 05:41PM

10
#47 - Andrei Gasparovici / @agasparovici

12/02/2017 at 09:47AM

10
#48 - Alphonse Mariya / @alfunx

01/18/2018 at 08:02PM

10
#49 - Paul Draghicescu / @pdragy

03/28/2018 at 10:38PM

10
#50 - DHM / @DHM29978992

05/03/2018 at 01:21AM

11
#51 - Tom P / @TomP03837155

06/09/2017 at 07:55AM

11
#52 - Adam Ko┼╝uch / @adamkozuch

06/16/2017 at 01:21AM

11
#53 - Tinko Minko / @tandikula

02/06/2019 at 10:00PM

11
#54 - albalitz / @_albalitz

07/01/2019 at 10:34AM

14
#55 - Will Gunther / @WillGunther

06/11/2017 at 06:56PM