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

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

178 active golfers, 485 entries

Solutions by @alessiocelentano:
6
#52 - Alessio Celentano / @alessiocelentano

05/15/2026 at 10:22PM

10
#>155 - Alessio Celentano / @alessiocelentano

05/15/2026 at 10:18PM