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 @james_bunch:

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

70 active golfers, 335 entries

Solutions by @james_bunch:
23
#7 - james_bunch / @james_bunch

03/23/2019 at 02:38AM

24
#>23 - james_bunch / @james_bunch

03/23/2019 at 02:37AM

25
#>27 - james_bunch / @james_bunch

03/23/2019 at 02:22AM

29
#>35 - james_bunch / @james_bunch

03/23/2019 at 02:15AM

30
#>36 - james_bunch / @james_bunch

03/23/2019 at 02:09AM

32
#>41 - james_bunch / @james_bunch

03/23/2019 at 12:41AM

34
#>50 - james_bunch / @james_bunch

03/23/2019 at 12:23AM

35
#>53 - james_bunch / @james_bunch

03/22/2019 at 11:55PM