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

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

111 active golfers, 292 entries

Solutions by @KatieLG:
6
#40 - Katie Gardner / @KatieLG

05/04/2026 at 07:27PM

7
#>74 - Katie Gardner / @KatieLG

05/04/2026 at 07:26PM

9
#>91 - Katie Gardner / @KatieLG

05/04/2026 at 07:06PM

9
#>91 - Katie Gardner / @KatieLG

05/04/2026 at 07:19PM

9
#>91 - Katie Gardner / @KatieLG

05/04/2026 at 07:22PM

9
#>91 - Katie Gardner / @KatieLG

05/04/2026 at 07:23PM

13
#>110 - Katie Gardner / @KatieLG

05/04/2026 at 07:06PM

14
#>110 - Katie Gardner / @KatieLG

05/04/2026 at 07:06PM