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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 290 remaining solutions by signing in and submitting your own entry
#291 Naz Malik / @nazwhale - Score: 73 - 04/20/17 @ 08:10
:s<BS>%s/%//g<CR>:%s/.//g<CR>u:%s/.//g<CR>uwwwxj.j.j.j.j..juj.j.hhi.<Esc>k.k.k.k.k.k.k.ZZ

0 comments


Created by: @coljac

291 active golfers, 865 entries

Leaderboard (lowest score wins):
14
#181 - John C Shea / @MHSSachems

01/29/2018 at 11:56AM

14
#182 - Arijus / @argshook

02/09/2018 at 09:44AM

14
#183 - LC / @leeren

03/02/2018 at 04:17AM

14
#184 - Norbert / @mullno

06/26/2018 at 07:30PM

14
#185 - Ivo Blöchliger / @aigledesalpes

08/06/2019 at 08:16AM

15
#186 - Solomon / @Trugbildjaeger

04/15/2017 at 01:39PM

15
#187 - :q / @AndyColonQ

04/18/2017 at 12:20AM

16
#188 - Jan Bundesmann / @janbundesmann

03/15/2017 at 07:55AM

16
#189 - Kristian Haug / @krimhaug

03/15/2017 at 09:48AM

16
#190 - jinx balotchnik / @balotchnik

03/23/2017 at 02:25AM

16
#191 - Oscar / @GraveRaven

03/28/2017 at 04:18PM

16
#192 - やよい / @0x841

03/29/2017 at 04:21PM

16
#193 - Dhruva Sagar / @dhruvasagar

04/03/2017 at 06:14AM

16
#194 - ネギ / @NegiGreenWhite

04/07/2017 at 03:36PM

16
#195 - ephemient / @ephemient

04/15/2017 at 06:50AM

16
#196 - Marty Boren / @beanmaximalist

05/05/2017 at 01:56AM

16
#197 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 09:09AM

16
#198 - Marcin Paliwoda / @eukaliptuss

08/27/2017 at 02:17PM

16
#199 - Paul Sonkoly / @Phaul

08/28/2017 at 10:31AM

16
#200 - jirgn / @jirgn

09/24/2017 at 06:18PM

16
#201 - Elton Kamami / @pixel_grid

10/09/2017 at 08:43PM

16
#202 - Ron Alexssen / @Ralexhere

10/18/2017 at 04:36PM

16
#203 - Bennett / @bennettbackward

12/20/2018 at 07:53AM

16
#204 - 咸糖🎯 / @GIA917229015

01/04/2024 at 03:31PM

16
#205 - Brice Bischoff / @B-Bischoff

10/25/2024 at 02:40PM

17
#206 - Stephan Bugnon / @stephanbugnon

03/17/2017 at 02:52PM

17
#207 - Pradeep Kumar 🇮🇳🇮🇳🇮🇳🇮🇱🇮🇱🇮🇱 / @pradeep6kumar

04/02/2017 at 05:55PM

17
#208 - 馬的愛人 / @felipeanchieta_

04/08/2017 at 02:12PM

17
#209 - wort / @rtiago98

05/06/2017 at 02:37PM

17
#210 - Codingpotato / @codingpotato

05/07/2017 at 08:42AM