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

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

128 active golfers, 337 entries

Solutions by @adambarla:
8
#97 - Adam Barla / @adambarla

05/06/2026 at 01:01PM

9
#>103 - Adam Barla / @adambarla

05/06/2026 at 12:08PM

9
#>103 - Adam Barla / @adambarla

05/06/2026 at 12:08PM

10
#>113 - Adam Barla / @adambarla

05/06/2026 at 12:02PM

12
#>121 - Adam Barla / @adambarla

05/06/2026 at 12:01PM