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

Separating firstname & lastname

Seperate named with equal tabs.

Start file
Johm Smith
Mary Gold
Alfred Quinn
Michal Jackson
Zeeshan Jan
End file
John          Smith
Mary          Gold
Alfred        Quinn
Michal        Jackson
Zeeshan       Jan

View Diff

1,5c1,5
< Johm Smith
< Mary Gold
< Alfred Quinn
< Michal Jackson
< Zeeshan Jan
\ No newline at end of file
---
> John          Smith
> Mary          Gold
> Alfred        Quinn
> Michal        Jackson
> Zeeshan       Jan
\ No newline at end of file

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 47 remaining solutions by signing in and submitting your own entry
#48 しょーへー / @pasopeko - Score: 104 - 01/24/15 @ 14:10
wbern<Esc>:1,2s/ /          /g<CR>:<Up><Left><Left><BS><BS><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><BS>3<Right><Right><BS>4<CR>:<Up><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><BS><BS><BS>5<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><BS><BS><BS><CR>wi   <Esc><Esc>:w<CR>:q<CR>

0 comments


Created by: @zeeshanjan82

48 active golfers, 102 entries

Leaderboard (lowest score wins):
27
#31 - Michael Foley / @m1foley

01/24/2015 at 06:42PM

27
#32 - Bambu / @bambumandinga

01/25/2015 at 04:35AM

27
#33 - César Enrique / @caenrique93

02/03/2015 at 11:19PM

27
#34 - Dmitry Zudochkin / @zudochkin

02/19/2015 at 02:36PM

29
#35 - ltn614 / @ltn614

09/29/2015 at 10:26AM

29
#36 - ryu gosling / @bbbeloveddd

02/18/2018 at 06:55PM

30
#37 - James / @Dronak

01/24/2015 at 02:40PM

30
#38 - Oliver Christ / @0liverChrist

02/16/2015 at 12:43PM

30
#39 - Bradley M. Small / @BradleySmall

11/23/2017 at 05:47AM

30
#40 - Mark Watson / @mrkrwtsn

08/17/2018 at 07:29PM

30
#41 - Gabriel Walford / @gtwalford

08/17/2018 at 07:34PM

31
#42 - Alex Bartol / @alexbartol

05/06/2015 at 06:10AM

33
#43 - Thameera Senanayaka / @thameera

01/24/2015 at 03:31PM

34
#44 - Brandon Emery Craig / @iambcraig

08/17/2018 at 07:37PM

37
#45 - d1uckym d1uckym / @d1uckym

02/15/2015 at 07:42PM

37
#46 - ɐʇnɥsɐpoʇ / @todashuta

03/26/2015 at 06:58AM

37
#47 - ʎɐɹ / @staticjak

08/17/2018 at 07:38PM

104
#48 - しょーへー / @pasopeko

01/24/2015 at 02:10PM