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

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

309 active golfers, 554 entries

Solutions by @nickandbro:
17
#219 - nickGPT / @nickandbro

08/23/2024 at 06:41AM

17
#>219 - nickGPT / @nickandbro

08/26/2024 at 07:41PM

18
#>264 - nickGPT / @nickandbro

08/23/2024 at 06:40AM

19
#>288 - nickGPT / @nickandbro

08/23/2024 at 06:40AM

20
#>297 - nickGPT / @nickandbro

08/23/2024 at 06:39AM

21
#>302 - nickGPT / @nickandbro

08/23/2024 at 06:39AM

22
#>304 - nickGPT / @nickandbro

08/23/2024 at 06:39AM

23
#>305 - nickGPT / @nickandbro

08/23/2024 at 06:38AM

28
#>306 - nickGPT / @nickandbro

08/23/2024 at 06:38AM

32
#>307 - nickGPT / @nickandbro

08/23/2024 at 04:00AM

40
#>308 - nickGPT / @nickandbro

08/23/2024 at 03:59AM

85
#>309 - nickGPT / @nickandbro

08/23/2024 at 03:59AM