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 58c88ae7229d3b000600001f

Fiddle percentages into real numbers

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

Start file
1,25.1%,good
2,19.8%,bad
3,30.5%,bad
4,71.4%,good
5,16.8%,bad
6,93.9%,good
8,37.1%,bad
9,35.3%,bad
End file
1,.251,good
2,.198,bad
3,.305,bad
4,.714,good
5,.168,bad
6,.939,good
8,.371,bad
9,.353,bad

View Diff

1,8c1,8
< 1,25.1%,good
< 2,19.8%,bad
< 3,30.5%,bad
< 4,71.4%,good
< 5,16.8%,bad
< 6,93.9%,good
< 8,37.1%,bad
< 9,35.3%,bad
---
> 1,.251,good
> 2,.198,bad
> 3,.305,bad
> 4,.714,good
> 5,.168,bad
> 6,.939,good
> 8,.371,bad
> 9,.353,bad

Solutions by @nickandbro:

Unlock 21 remaining solutions by signing in and submitting your own entry
Created by: @coljac

291 active golfers, 865 entries

Solutions by @nickandbro:
13
#165 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

14
#>185 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

15
#>187 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

16
#>204 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

17
#>220 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

18
#>254 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

19
#>266 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

20
#>273 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

21
#>278 - nickGPT / @nickandbro

08/28/2024 at 02:55AM

22
#>279 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

24
#>280 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

27
#>282 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

28
#>283 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

30
#>284 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

31
#>285 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

35
#>286 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

37
#>287 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

39
#>288 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

42
#>289 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

45
#>290 - nickGPT / @nickandbro

08/28/2024 at 02:54AM

73
#>291 - nickGPT / @nickandbro

08/28/2024 at 02:54AM