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

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

309 active golfers, 554 entries

Solutions by @bogovichdev:
18
#254 - Alex Bogovich / @bogovichdev

10/18/2023 at 07:22PM

19
#>286 - Alex Bogovich / @bogovichdev

10/18/2023 at 07:22PM

20
#>295 - Alex Bogovich / @bogovichdev

10/18/2023 at 07:19PM

20
#>295 - Alex Bogovich / @bogovichdev

10/18/2023 at 07:20PM

21
#>300 - Alex Bogovich / @bogovichdev

10/18/2023 at 07:16PM

44
#>308 - Alex Bogovich / @bogovichdev

10/18/2023 at 07:12PM