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

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

194 active golfers, 661 entries

Solutions by @pieapple03:
17
#42 - Zhihong Liu / @pieapple03

03/25/2017 at 04:15AM

19
#>66 - Zhihong Liu / @pieapple03

03/25/2017 at 04:13AM

20
#>91 - Zhihong Liu / @pieapple03

03/25/2017 at 04:13AM

22
#>101 - Zhihong Liu / @pieapple03

03/25/2017 at 04:11AM

23
#>112 - Zhihong Liu / @pieapple03

03/25/2017 at 04:11AM

24
#>122 - Zhihong Liu / @pieapple03

03/25/2017 at 04:10AM

26
#>129 - Zhihong Liu / @pieapple03

03/25/2017 at 04:08AM

29
#>145 - Zhihong Liu / @pieapple03

03/25/2017 at 04:04AM

31
#>156 - Zhihong Liu / @pieapple03

03/25/2017 at 04:03AM