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

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

174 active golfers, 478 entries

Solutions by @gitchhiker:
6
#63 - Paul / @gitchhiker

05/24/2026 at 09:14PM

6
#>76 - Paul / @gitchhiker

06/04/2026 at 06:25AM

6
#>76 - Paul / @gitchhiker

06/04/2026 at 06:26AM

6
#>76 - Paul / @gitchhiker

06/04/2026 at 06:27AM

7
#>114 - Paul / @gitchhiker

05/24/2026 at 09:02PM

8
#>128 - Paul / @gitchhiker

05/24/2026 at 09:01PM

8
#>130 - Paul / @gitchhiker

06/04/2026 at 06:25AM

14
#>168 - Paul / @gitchhiker

06/04/2026 at 06:24AM