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

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

178 active golfers, 485 entries

Solutions by @AkidukiToru:
6
#33 - AkidukiToru / @AkidukiToru

04/29/2026 at 02:07AM

6
#>33 - AkidukiToru / @AkidukiToru

04/29/2026 at 02:08AM

7
#>105 - AkidukiToru / @AkidukiToru

04/29/2026 at 01:02AM

7
#>105 - AkidukiToru / @AkidukiToru

04/29/2026 at 02:08AM

8
#>126 - AkidukiToru / @AkidukiToru

04/29/2026 at 01:01AM

9
#>138 - AkidukiToru / @AkidukiToru

04/29/2026 at 12:51AM

10
#>154 - AkidukiToru / @AkidukiToru

04/29/2026 at 12:25AM

13
#>167 - AkidukiToru / @AkidukiToru

04/29/2026 at 12:24AM

14
#>171 - AkidukiToru / @AkidukiToru

04/29/2026 at 12:19AM

16
#>175 - AkidukiToru / @AkidukiToru

04/29/2026 at 12:18AM