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

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

194 active golfers, 661 entries

Solutions by @songz:
17
#26 - Song Zheng / @songz

01/20/2012 at 09:51PM

17
#>26 - Song Zheng / @songz

01/21/2012 at 04:35AM

17
#>26 - Song Zheng / @songz

01/21/2012 at 04:39AM

17
#>26 - Song Zheng / @songz

01/23/2012 at 12:04AM

17
#>26 - Song Zheng / @songz

01/23/2012 at 02:01AM

20
#>83 - Song Zheng / @songz

01/20/2012 at 09:50PM

22
#>99 - Song Zheng / @songz

01/20/2012 at 09:49PM

24
#>117 - Song Zheng / @songz

01/20/2012 at 09:46PM

26
#>129 - Song Zheng / @songz

01/20/2012 at 09:40PM

28
#>140 - Song Zheng / @songz

01/20/2012 at 09:15PM

30
#>147 - Song Zheng / @songz

01/20/2012 at 09:12PM