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

Delete the last function argument in python.

Delete the last function argument in this python script.

Start file
print(pairs, len(pairs))
End file
print(pairs,)

View Diff

1c1
< print(pairs, len(pairs))
---
> print(pairs,)

Solutions by @priyanshulxiv:

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

174 active golfers, 478 entries

Solutions by @priyanshulxiv:
6
#85 - Priyanshu Katuwal / @priyanshulxiv

06/07/2026 at 03:53PM

7
#>116 - Priyanshu Katuwal / @priyanshulxiv

06/07/2026 at 03:53PM

9
#>145 - Priyanshu Katuwal / @priyanshulxiv

06/07/2026 at 03:52PM

12
#>163 - Priyanshu Katuwal / @priyanshulxiv

06/07/2026 at 03:50PM