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

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

181 active golfers, 586 entries

Solutions by @sedm0784:
18
#49 - Rich Cheng / @sedm0784

09/10/2018 at 03:45PM

19
#>61 - Rich Cheng / @sedm0784

09/10/2018 at 03:41PM

20
#>87 - Rich Cheng / @sedm0784

09/10/2018 at 03:38PM

22
#>91 - Rich Cheng / @sedm0784

02/10/2011 at 05:43PM

29
#>135 - Rich Cheng / @sedm0784

02/10/2011 at 05:38PM