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 56fcc3204a7725120c00c91c

SQL to YAML

Should be easy with vim, or not?

Start file
(1,'cleora.baugh@example.com','2016-02-12 09:00:09',NULL),
(2,'hedy.van-gossard@example.com','2016-02-12 09:00:09',NULL),
(2,'bryce.steeves@example.com','2016-02-12 09:00:09',NULL),
(3,'rodger.van-harland@example.com','2016-02-12 09:00:09',NULL),
(3,'jami.waid@example.com','2016-02-12 09:00:09',NULL),
End file
cleora.baugh:
    group_id: 1
    full_name: Cleora Baugh
    mail: cleora.baugh@example.com
hedy.van-gossard:
    group_id: 2
    full_name: Hedy van Gossard
    mail: hedy.van-gossard@example.com
bryce.steeves:
    group_id: 2
    full_name: Bryce Steeves
    mail: bryce.steeves@example.com
rodger.van-harland:
    group_id: 3
    full_name: Rodger van Harland
    mail: rodger.van-harland@example.com
jami.waid:
    group_id: 3
    full_name: Jami Waid
    mail: jami.waid@example.com

View Diff

1,5c1,20
< (1,'cleora.baugh@example.com','2016-02-12 09:00:09',NULL),
< (2,'hedy.van-gossard@example.com','2016-02-12 09:00:09',NULL),
< (2,'bryce.steeves@example.com','2016-02-12 09:00:09',NULL),
< (3,'rodger.van-harland@example.com','2016-02-12 09:00:09',NULL),
< (3,'jami.waid@example.com','2016-02-12 09:00:09',NULL),
---
> cleora.baugh:
>     group_id: 1
>     full_name: Cleora Baugh
>     mail: cleora.baugh@example.com
> hedy.van-gossard:
>     group_id: 2
>     full_name: Hedy van Gossard
>     mail: hedy.van-gossard@example.com
> bryce.steeves:
>     group_id: 2
>     full_name: Bryce Steeves
>     mail: bryce.steeves@example.com
> rodger.van-harland:
>     group_id: 3
>     full_name: Rodger van Harland
>     mail: rodger.van-harland@example.com
> jami.waid:
>     group_id: 3
>     full_name: Jami Waid
>     mail: jami.waid@example.com

Solutions by @Smylers2:

Unlock 6 remaining solutions by signing in and submitting your own entry
Created by: @vimgolf_ctrl_x

20 active golfers, 45 entries

Solutions by @Smylers2:
73
#6 - Smylers / @Smylers2

03/31/2016 at 04:02PM

73
#>6 - Smylers / @Smylers2

04/01/2016 at 11:12AM

74
#>7 - Smylers / @Smylers2

03/31/2016 at 01:52PM

74
#>7 - Smylers / @Smylers2

03/31/2016 at 03:58PM

75
#>7 - Smylers / @Smylers2

03/31/2016 at 01:22PM

77
#>8 - Smylers / @Smylers2

03/31/2016 at 09:34AM