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 by @_hell_spawn:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @zacoxi

70 active golfers, 335 entries

Solutions by @_hell_spawn:
39
#60 - Mauricio Ariza / @_hell_spawn

11/19/2018 at 01:49PM

40
#>62 - Mauricio Ariza / @_hell_spawn

11/19/2018 at 01:31PM