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 5bf26adb9a198b0009ce0a87

Simple format (2)

try again!

Start file
a==b equal to
a!=b not equal to
a>b greater than
a>=b greater than or equal to
a<b less than
a<=b less than or equal to
End file
	a == b		equal to
	a != b		not equal to
	a >  b		greater than
	a >= b		greater than or equal to
	a <  b		less than
	a <= b		less than or equal to

View Diff

1,6c1,6
< a==b equal to
< a!=b not equal to
< a>b greater than
< a>=b greater than or equal to
< a<b less than
< a<=b less than or equal to
---
> 	a == b		equal to
> 	a != b		not equal to
> 	a >  b		greater than
> 	a >= b		greater than or equal to
> 	a <  b		less than
> 	a <= b		less than or equal to

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 52 remaining solutions by signing in and submitting your own entry
#53 Jurica / @Jurica34581259 - Score: 53 - 11/19/18 @ 20:35
:%s/^/\t<CR>:%s/ /\t\t<CR>:%s/a/a /<CR>:%s/b/ b<CR>kllli <Esc>kki <Esc>ZZ

0 comments


Created by: @zacoxi

53 active golfers, 241 entries

Leaderboard (lowest score wins):
32
#31 - Oleg Skillup / @skill_up

08/24/2019 at 08:27AM

33
#32 - Paul Weaver / @UKWeaver

11/21/2018 at 07:42PM

33
#33 - Angry Dev / @AngryDev7

12/05/2018 at 07:50AM

33
#34 - Bennett / @bennettbackward

12/19/2018 at 10:36AM

34
#35 - tuyen / @tuyen66827418

11/23/2018 at 10:48AM

34
#36 - unclewangshushu / @shuwushu

11/29/2018 at 09:22AM

34
#37 - pankaj singh / @pankajsingh013

01/15/2019 at 10:58AM

35
#38 - tPenguinLTG / @tpenguinltg

11/20/2018 at 02:03AM

36
#39 - Bob_V / @Bob_V

11/24/2018 at 03:19AM

36
#40 - José / @AngelGaldamez

10/14/2019 at 12:54AM

37
#41 - Tact Overflow / @muppling

11/22/2018 at 02:31PM

38
#42 - Titouan Teyssier / @TitouanT_

03/10/2019 at 03:10AM

39
#43 - PRK / @NoMoTo

11/19/2018 at 09:04AM

39
#44 - Mauricio Ariza / @_hell_spawn

11/19/2018 at 01:49PM

39
#45 - Rossi / @mrossinek

12/06/2018 at 08:28AM

39
#46 - Life_is_a_lie / @RealLifeNotReal

03/21/2019 at 02:19PM

40
#47 - Paul Inc / @hiniol1982

12/07/2018 at 10:07PM

41
#48 - Slawek Ligus / @ooz_ie

01/14/2019 at 08:13PM

43
#49 - Jasper Pangilinan / @JasperP

12/29/2018 at 10:26AM

43
#50 - majo senf / @majo_senf

06/17/2019 at 01:35PM

47
#51 - Gitsnik / @dracyrys

04/26/2019 at 12:52PM

52
#52 - Sarah Luongo / @SarahLuongo3

04/26/2019 at 02:26PM

53
#53 - Jurica / @Jurica34581259

11/19/2018 at 08:35PM