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

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

153 active golfers, 423 entries

Solutions by @lorenzotorri:
6
#13 - Lorenzo Torri / @lorenzotorri

04/13/2026 at 11:27AM

7
#>93 - Lorenzo Torri / @lorenzotorri

04/13/2026 at 11:25AM

8
#>113 - Lorenzo Torri / @lorenzotorri

04/13/2026 at 11:25AM

10
#>133 - Lorenzo Torri / @lorenzotorri

04/13/2026 at 11:22AM

10
#>133 - Lorenzo Torri / @lorenzotorri

04/13/2026 at 11:24AM