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

convert yml into java pojo field

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

Start file
- browser: Chrome
  browserVersion: 63
  os: window7
  osVersion: 2012
  lang: en
End file
private String browser;
private String browserVersion;
private String os;
private String osVersion;
private String lang;

View Diff

1,5c1,5
< - browser: Chrome
<   browserVersion: 63
<   os: window7
<   osVersion: 2012
<   lang: en
---
> private String browser;
> private String browserVersion;
> private String os;
> private String osVersion;
> private String lang;

Solutions by @joeyism101:

Unlock 13 remaining solutions by signing in and submitting your own entry
Created by: @saurabh908583

218 active golfers, 820 entries

Solutions by @joeyism101:
29
#23 - Joey / @joeyism101

09/03/2018 at 01:57AM

30
#>94 - Joey / @joeyism101

09/03/2018 at 01:57AM

31
#>130 - Joey / @joeyism101

09/03/2018 at 01:56AM

32
#>147 - Joey / @joeyism101

09/03/2018 at 01:55AM

33
#>157 - Joey / @joeyism101

09/03/2018 at 01:55AM

34
#>165 - Joey / @joeyism101

09/03/2018 at 01:53AM

34
#>165 - Joey / @joeyism101

09/03/2018 at 01:54AM

35
#>175 - Joey / @joeyism101

09/03/2018 at 01:52AM

35
#>175 - Joey / @joeyism101

09/03/2018 at 01:53AM

36
#>181 - Joey / @joeyism101

09/03/2018 at 01:50AM

37
#>188 - Joey / @joeyism101

09/03/2018 at 01:50AM

38
#>194 - Joey / @joeyism101

09/03/2018 at 01:51AM

40
#>202 - Joey / @joeyism101

09/03/2018 at 01:45AM