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 9v00647402cb000000000251

Surround the 'z' character with brackets, quotes, and print as formatted string.

Surround the 'z' character with brackets, quotes, and print as formatted string.

Start file
z
End file
print(f"{z}")

View Diff

1c1
< z
\ No newline at end of file
---
> print(f"{z}")
\ No newline at end of file

Solutions by @Pumpkin_Pie_Eat:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @rserch3r

274 active golfers, 489 entries

Solutions by @Pumpkin_Pie_Eat:
17
#69 - Pieter-Jan Lavaerts / @Pumpkin_Pie_Eat

07/12/2023 at 08:48AM

17
#>187 - Pieter-Jan Lavaerts / @Pumpkin_Pie_Eat

03/08/2024 at 12:53PM

18
#>217 - Pieter-Jan Lavaerts / @Pumpkin_Pie_Eat

07/12/2023 at 08:45AM

20
#>260 - Pieter-Jan Lavaerts / @Pumpkin_Pie_Eat

07/12/2023 at 08:44AM