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

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

22 active golfers, 44 entries

Solutions by @skywalkerwhack:
6
#14 - skywalkerwhack / @skywalkerwhack

04/13/2026 at 12:35PM

7
#>17 - skywalkerwhack / @skywalkerwhack

04/09/2026 at 01:53PM

10
#>22 - skywalkerwhack / @skywalkerwhack

04/09/2026 at 01:03PM

11
#>22 - skywalkerwhack / @skywalkerwhack

04/09/2026 at 12:47PM