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 4d4ab047795d626036000034

imports alignment (python)

Align as one import per line.

Start file
from random import randint, uniform, shuffle, sample
from math import ceil, pow
End file
from random import randint
from random import uniform
from random import shuffle
from random import sample
from math import ceil
from math import pow

View Diff

1,2c1,6
< from random import randint, uniform, shuffle, sample
< from math import ceil, pow
---
> from random import randint
> from random import uniform
> from random import shuffle
> from random import sample
> from math import ceil
> from math import pow

Solutions by @shahanavazm:

Unlock 6 remaining solutions by signing in and submitting your own entry
Created by: @vimgolfer

198 active golfers, 700 entries

Solutions by @shahanavazm:
26
#133 - shahanavaz m / @shahanavazm

02/20/2022 at 02:42AM

39
#>178 - shahanavaz m / @shahanavazm

02/05/2024 at 10:11PM

41
#>181 - shahanavaz m / @shahanavazm

03/11/2024 at 07:24PM

42
#>183 - shahanavaz m / @shahanavazm

03/15/2024 at 02:52AM

45
#>189 - shahanavaz m / @shahanavazm

02/05/2024 at 10:10PM

50
#>193 - shahanavaz m / @shahanavazm

02/20/2022 at 04:27AM