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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 65 remaining solutions by signing in and submitting your own entry
#66 Zain.Edogawa / @EdogawaZain - Score: 500 - 07/14/22 @ 17:37
<Esc>ihost <Esc>wwd5W<Esc><Esc>:%s<<BS>/<none>//<CR><Esc>:5s<BS><BS>%s/worker-pool1-/hostan<BS><BS> /<CR><Esc>w<Right><Right><C-V>kkkkkkkkkkklllll5W<Left>x<C-V>jjjjjjjjjjjjjjjWwww<Esc><Esc><Esc><C-V>kkkkkkkkkkkkkjhhhxjjxjkx<Esc>ujkkjjjjjkkjjjjkkllxiii<Esc>u<Esc>kkklxklllkkkkllllllllllllxxxx<Esc>hhhhhhhhh<Esc>:%s/10.10<BS><BS>0.10/hostname 10.0.10/<CR><Esc><Right><Right><Right><Right><Right><Right><Right><C-V>kkkkkkkkkkkI<CR>  <Esc><Esc><Esc>jww<Esc>blli<CR>  <Esc>jjlllllkli<CR>  <Esc>jwlli<CR>  <Esc>o<Esc>jllllli<CR>  <Esc><Esc>o<Esc>jllllli<CR>  <Esc><Esc>jww<Esc>blli<CR>  <Esc><Esc>o<Esc>jllllli<CR>  <Esc><Esc>o<Esc>jww<Esc>b;;lli<CR>  <Esc>o<CR><Esc><Esc>dd<Esc>ww<Esc>blli<CR>  <Esc>o<Esc>jllllli<CR>  <Esc>o<Esc>kjkjjllllli<CR>  <Esc><Esc>ggww<Esc>b;;lllllli<CR>  <Esc><Esc><Esc>o<Esc>jj<Esc>o<Esc>jj<Esc>o<Esc><Esc>jj<Esc>o<Esc><Esc><Esc><Esc>jjjjjjjj<Esc>o<Esc><Esc>jjjjjjjjjjjjjjjjjjjjj<Esc><Esc>:x<CR>

0 comments


Created by: @rax0m

66 active golfers, 258 entries

Leaderboard (lowest score wins):
41
#1 - Jon Krause / @jkrause314

10/05/2020 at 05:48PM

41
#2 - John Braxler / @braxler

10/05/2020 at 07:47PM

41
#3 - chocolate / @chocola81394123

11/24/2020 at 08:28AM

41
#4 - Jung Yeon Park / @park_jungy

01/08/2021 at 08:02PM

41
#5 - A A A / @37fatos

01/16/2021 at 02:14AM

41
#6 - Andreas Siegrist / @andreaszwei

01/29/2021 at 10:36PM

41
#7 - Arya Kumar / @SusSquirrel

06/03/2021 at 12:29AM

41
#8 - Roman Privalov / @RomanPrivalov

09/01/2021 at 04:56AM

41
#9 - Sammit / @somemeatjain

01/26/2022 at 03:49PM

41
#10 - quemeraisc / @quemeraisc

05/18/2022 at 02:36PM

41
#11 - Irakli Chigvaria / @tchigvaria

05/27/2022 at 03:18PM

41
#12 - Topvimgolf Score / @topvimgolfscore

10/02/2023 at 07:00AM

41
#13 - Peppa Pig / @PeppaPigSg

07/02/2024 at 06:06AM

43
#14 - Saki Gw / @Sakigw

10/01/2020 at 06:54AM

43
#15 - Jan Liu / @Jagsomarjan

10/03/2020 at 05:52PM

43
#16 - lamtt77 / @lamtt77

10/08/2020 at 05:56AM

43
#17 - hepebexè / @hepebexe

11/22/2020 at 05:31PM

43
#18 - roudens / @roudens2

12/06/2020 at 02:58AM

43
#19 - Lory / @Lory46845742

07/31/2022 at 10:04AM

43
#20 - Luoyb / @Luoyb

10/25/2023 at 06:06AM

44
#21 - "Smylers" / @Smylers2

09/29/2020 at 09:02PM

44
#22 - genoskill / @Genoskill

10/04/2020 at 06:22AM

46
#23 - Oskar Fridell / @rax0m

09/29/2020 at 01:50PM

46
#24 - Miko / @_m_ik_o_

10/04/2020 at 01:36PM

46
#25 - drumstix576 / @drumstix576

11/18/2020 at 09:49PM

46
#26 - John Huynh / @huynh_j93

05/01/2023 at 05:57PM

48
#27 - satetheus-vimgolf / @SVimgolf

07/24/2022 at 07:01AM

48
#28 - 0xf00ff00f / @0xf00ff00f

10/19/2023 at 02:22PM

55
#29 - Roger Stoltz / @rogsto1

10/18/2020 at 09:27PM

55
#30 - Jianfeng / @Jianfen22425058

02/02/2021 at 09:40AM