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

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

223 active golfers, 829 entries

Solutions by @leo28356948:
29
#76 - leo / @leo28356948

10/28/2019 at 10:01AM

30
#>119 - leo / @leo28356948

10/28/2019 at 10:00AM

31
#>140 - leo / @leo28356948

10/28/2019 at 10:00AM

32
#>154 - leo / @leo28356948

10/28/2019 at 09:59AM

33
#>162 - leo / @leo28356948

10/28/2019 at 09:58AM

34
#>176 - leo / @leo28356948

10/28/2019 at 09:57AM

35
#>180 - leo / @leo28356948

10/28/2019 at 09:56AM

36
#>190 - leo / @leo28356948

10/28/2019 at 09:54AM

37
#>197 - leo / @leo28356948

10/28/2019 at 09:50AM

39
#>204 - leo / @leo28356948

10/28/2019 at 09:47AM