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

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

194 active golfers, 661 entries

Solutions by @tomkpz:
18
#53 - Michel Viktor / @tomkpz

08/08/2021 at 10:05PM

19
#>66 - Michel Viktor / @tomkpz

08/08/2021 at 10:05PM

20
#>93 - Michel Viktor / @tomkpz

08/08/2021 at 10:04PM

21
#>96 - Michel Viktor / @tomkpz

08/08/2021 at 10:04PM

22
#>102 - Michel Viktor / @tomkpz

08/08/2021 at 10:03PM

23
#>112 - Michel Viktor / @tomkpz

08/08/2021 at 10:02PM

24
#>123 - Michel Viktor / @tomkpz

08/08/2021 at 10:01PM

25
#>125 - Michel Viktor / @tomkpz

08/08/2021 at 10:01PM

26
#>130 - Michel Viktor / @tomkpz

08/08/2021 at 10:00PM

27
#>138 - Michel Viktor / @tomkpz

08/08/2021 at 09:59PM

28
#>142 - Michel Viktor / @tomkpz

08/08/2021 at 09:58PM

29
#>145 - Michel Viktor / @tomkpz

08/08/2021 at 09:57PM

31
#>156 - Michel Viktor / @tomkpz

08/08/2021 at 09:56PM