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

Extend shell script

Just add some more stuff

Start file
helm uninstall -n pcc-1 pcc-1
kubectl delete ns pcc-1
cd ~/helm-install/pcc-1/
./helm-install-1.6.sh
End file
helm uninstall -n pcc-1 pcc-1
helm uninstall -n pcg-1 pcg-1
helm uninstall -n pcg-2 pcg-2
kubectl delete ns pcc-1
kubectl delete ns pcg-1
kubectl delete ns pcg-2
cd ~/helm-install/pcc-1/
./helm-install-1.6.sh
cd ~/helm-install/pcg-1/
./helm-install-1.1.sh
cd ~/helm-install/pcg-2/
./helm-install-1.1.sh

View Diff

1a2,3
> helm uninstall -n pcg-1 pcg-1
> helm uninstall -n pcg-2 pcg-2
2a5,6
> kubectl delete ns pcg-1
> kubectl delete ns pcg-2
4a9,12
> cd ~/helm-install/pcg-1/
> ./helm-install-1.1.sh
> cd ~/helm-install/pcg-2/
> ./helm-install-1.1.sh

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 30 remaining solutions by signing in and submitting your own entry
#31 qixiao / @qixiao986 - Score: 150 - 05/30/21 @ 23:23
yy2pjjyy2pjjy2jj2pkkkkkkk:sp<BS>/pcc/pcg/g<CR>j:s/pcc-1/pcc<BS>g-2/g<CR>jj/<BS>;:s/pcc/pcg<CR>j:s/cg-1/<BS><BS><BS><BS>c-1/cg-2<CR>jjjllllllllllllllllllllrgjhhhr1jlllrglllhr2jhhhr1:x<CR>

0 comments


Created by: @rax0m

31 active golfers, 81 entries

Leaderboard (lowest score wins):
150
#31 - qixiao / @qixiao986

05/30/2021 at 11:23PM