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

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

213 active golfers, 801 entries

Solutions by @Timon_Surikat:
29
#13 - Тёма / @Timon_Surikat

08/18/2018 at 01:10PM

30
#>90 - Тёма / @Timon_Surikat

08/18/2018 at 01:03PM

31
#>123 - Тёма / @Timon_Surikat

08/18/2018 at 01:01PM

32
#>141 - Тёма / @Timon_Surikat

08/17/2018 at 10:30PM

33
#>151 - Тёма / @Timon_Surikat

08/17/2018 at 10:24PM

34
#>158 - Тёма / @Timon_Surikat

08/17/2018 at 10:02PM

34
#>158 - Тёма / @Timon_Surikat

08/17/2018 at 10:14PM

36
#>174 - Тёма / @Timon_Surikat

08/17/2018 at 09:43PM

40
#>196 - Тёма / @Timon_Surikat

08/17/2018 at 09:18PM

41
#>200 - Тёма / @Timon_Surikat

08/17/2018 at 09:16PM

47
#>207 - Тёма / @Timon_Surikat

08/17/2018 at 09:14PM

57
#>209 - Тёма / @Timon_Surikat

08/17/2018 at 08:49PM

62
#>212 - Тёма / @Timon_Surikat

08/16/2018 at 10:25PM

76
#>212 - Тёма / @Timon_Surikat

08/16/2018 at 10:22PM

169
#>213 - Тёма / @Timon_Surikat

08/16/2018 at 10:04PM