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

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

227 active golfers, 857 entries

Solutions by @zacoxi:
29
#33 - Dax / @zacoxi

10/05/2018 at 01:37AM

29
#>46 - Dax / @zacoxi

11/20/2018 at 01:35AM

30
#>102 - Dax / @zacoxi

10/05/2018 at 01:35AM

31
#>136 - Dax / @zacoxi

10/05/2018 at 01:31AM

32
#>154 - Dax / @zacoxi

10/05/2018 at 01:25AM

33
#>164 - Dax / @zacoxi

10/05/2018 at 01:19AM

37
#>199 - Dax / @zacoxi

11/29/2018 at 01:31AM

39
#>205 - Dax / @zacoxi

10/04/2018 at 02:52PM

40
#>211 - Dax / @zacoxi

10/05/2018 at 01:10AM

45
#>220 - Dax / @zacoxi

10/05/2018 at 01:03AM