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 56 remaining solutions by signing in and submitting your own entry
#57 しょーへー / @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

57 active golfers, 138 entries

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

01/26/2015 at 08:06AM

19
#2 - John Braxler / @braxler

01/26/2015 at 03:10PM

19
#3 - Petro Тrouq / @zulolosi

01/26/2015 at 07:50PM

19
#4 - Loser Face / @heypetewhats

01/30/2015 at 05:22PM

19
#5 - Daniël De Koker / @daniel_koker

07/15/2018 at 08:38AM

19
#6 - Janzen / @__Coos

09/30/2022 at 01:57PM

19
#7 - Berel94 / @Berel94

03/22/2024 at 08:56PM

19
#8 - Peppa Pig / @PeppaPigSg

07/03/2024 at 02:18AM

19
#9 - nickGPT / @nickandbro

08/28/2024 at 04:39AM

20
#10 - Adam Stankiewicz / @sheerun

01/25/2015 at 06:08PM

20
#11 - Arno / @arnoxmp

05/09/2019 at 07:29AM

21
#12 - Harm te Hennepe / @HrmtH

01/24/2015 at 04:26PM

21
#13 - Jon Krause / @jkrause314

04/17/2016 at 10:03PM

21
#14 - Marcin / @Marcin89439917

12/31/2016 at 08:43PM

22
#15 - Matt / @mcr05

01/24/2015 at 12:44PM

22
#16 - Jake Eskel / @JakeEskel

01/27/2015 at 03:57PM

22
#17 - xieyh11 / @xieyh11

02/27/2015 at 03:08AM

22
#18 - pftb12345 / @pftb12345

04/08/2015 at 01:07PM

22
#19 - Lifepillar / @lifepillar

07/19/2015 at 05:23PM

22
#20 - Walker Boh / @walker_boh

12/16/2015 at 11:59AM

22
#21 - David Stensland / @DavidStensland

10/05/2016 at 02:23AM

22
#22 - Alex / @AlexanderHeatl2

07/07/2022 at 10:41PM

23
#23 - Carlos A Henríquez Q / @lagunex

01/26/2015 at 02:50PM

23
#24 - Michi Loro / @michiloro

01/27/2015 at 09:33AM

23
#25 - Selvaganapathy P / @canabady

02/20/2021 at 03:17AM

23
#26 - x03n046 / @x03n046

05/27/2022 at 04:23AM

24
#27 - Zapata / @Incredible_JFP

01/26/2015 at 10:20AM

24
#28 - いっこつ / @eZb4

02/03/2015 at 06:33PM

24
#29 - Clark DuVall / @theclarkatron

10/05/2016 at 01:37AM

25
#30 - eirc / @eirc

01/24/2015 at 01:06PM