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

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

307 active golfers, 551 entries

Solutions by @pacuna:
17
#233 - Pablo Acuna / @pacuna

11/12/2024 at 01:38AM

18
#>263 - Pablo Acuna / @pacuna

08/31/2024 at 01:49AM

18
#>264 - Pablo Acuna / @pacuna

11/12/2024 at 01:34AM