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

ssh config skills

Parse output from `kuebctl get no -o wide` into an .ssh/config file!

Start file
master-0-pccc-269-4                Ready                      master   5d3h   v1.18.2   10.0.10.10    <none>
worker-pool1-07p524t4-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.17    <none>
worker-pool1-2l7ogj75-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.18    <none>
worker-pool1-3qrc0j0w-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.4     <none>
worker-pool1-4qo9q5zu-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.6     <none>
worker-pool1-c624wl6q-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.13    <none>
worker-pool1-c8b1h8vv-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.36    <none>
worker-pool1-hdas516w-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.2     <none>
worker-pool1-i3gil9z5-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.22    <none>
worker-pool1-iwnlys88-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.12    <none>
worker-pool1-nhw7dtfw-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.24    <none>
worker-pool1-s2y990ll-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.21    <none>
worker-pool1-skqyxr40-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.27    <none>
End file
host master
  hostname 10.0.10.10

host 07
  hostname 10.0.10.17

host 2l
  hostname 10.0.10.18

host 3q
  hostname 10.0.10.4

host 4q
  hostname 10.0.10.6

host c6
  hostname 10.0.10.13

host c8
  hostname 10.0.10.36

host hd
  hostname 10.0.10.2

host i3
  hostname 10.0.10.22

host iw
  hostname 10.0.10.12

host nh
  hostname 10.0.10.24

host s2
  hostname 10.0.10.21

host sk
  hostname 10.0.10.27

View Diff

1,13c1,38
< master-0-pccc-269-4                Ready                      master   5d3h   v1.18.2   10.0.10.10    <none>
< worker-pool1-07p524t4-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.17    <none>
< worker-pool1-2l7ogj75-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.18    <none>
< worker-pool1-3qrc0j0w-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.4     <none>
< worker-pool1-4qo9q5zu-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.6     <none>
< worker-pool1-c624wl6q-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.13    <none>
< worker-pool1-c8b1h8vv-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.36    <none>
< worker-pool1-hdas516w-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.2     <none>
< worker-pool1-i3gil9z5-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.22    <none>
< worker-pool1-iwnlys88-pccc-269-4   Ready                      worker   5d2h   v1.18.2   10.0.10.12    <none>
< worker-pool1-nhw7dtfw-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.24    <none>
< worker-pool1-s2y990ll-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.21    <none>
< worker-pool1-skqyxr40-pccc-269-4   Ready,SchedulingDisabled   worker   5d2h   v1.18.2   10.0.10.27    <none>
---
> host master
>   hostname 10.0.10.10
> 
> host 07
>   hostname 10.0.10.17
> 
> host 2l
>   hostname 10.0.10.18
> 
> host 3q
>   hostname 10.0.10.4
> 
> host 4q
>   hostname 10.0.10.6
> 
> host c6
>   hostname 10.0.10.13
> 
> host c8
>   hostname 10.0.10.36
> 
> host hd
>   hostname 10.0.10.2
> 
> host i3
>   hostname 10.0.10.22
> 
> host iw
>   hostname 10.0.10.12
> 
> host nh
>   hostname 10.0.10.24
> 
> host s2
>   hostname 10.0.10.21
> 
> host sk
>   hostname 10.0.10.27

Solutions by @tchigvaria:

Unlock 12 remaining solutions by signing in and submitting your own entry
Created by: @rax0m

66 active golfers, 258 entries

Solutions by @tchigvaria:
41
#11 - Irakli Chigvaria / @tchigvaria

05/27/2022 at 03:18PM

43
#>18 - Irakli Chigvaria / @tchigvaria

05/27/2022 at 07:31AM

44
#>22 - Irakli Chigvaria / @tchigvaria

05/27/2022 at 06:02AM

44
#>22 - Irakli Chigvaria / @tchigvaria

05/27/2022 at 06:15AM

46
#>25 - Irakli Chigvaria / @tchigvaria

05/27/2022 at 03:29AM

47
#>26 - Irakli Chigvaria / @tchigvaria

05/26/2022 at 06:09PM

53
#>28 - Irakli Chigvaria / @tchigvaria

05/26/2022 at 05:46AM

57
#>34 - Irakli Chigvaria / @tchigvaria

05/26/2022 at 05:17AM

60
#>38 - Irakli Chigvaria / @tchigvaria

05/25/2022 at 08:20PM

66
#>43 - Irakli Chigvaria / @tchigvaria

05/25/2022 at 08:03PM

67
#>43 - Irakli Chigvaria / @tchigvaria

05/25/2022 at 07:57PM

77
#>47 - Irakli Chigvaria / @tchigvaria

05/25/2022 at 07:44PM