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

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

302 active golfers, 542 entries

Solutions by @sourabhrj31:
17
#11 - Sourabh Raj Jaiswal / @sourabhrj31

06/01/2023 at 02:36PM

18
#>230 - Sourabh Raj Jaiswal / @sourabhrj31

06/01/2023 at 02:35PM

19
#>261 - Sourabh Raj Jaiswal / @sourabhrj31

06/01/2023 at 02:33PM

20
#>282 - Sourabh Raj Jaiswal / @sourabhrj31

06/01/2023 at 02:32PM

25
#>298 - Sourabh Raj Jaiswal / @sourabhrj31

06/01/2023 at 02:31PM

33
#>300 - Sourabh Raj Jaiswal / @sourabhrj31

06/01/2023 at 02:30PM