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 [challenge ID]

Played Challenges

Change class fields from camel case to snake case - 678 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 22
  • Position: #74 / 160
  • Number of attempts: 1
Change class fields from snake case to camel case - 336 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 21
  • Position: #114 / 127
  • Number of attempts: 2
Reorganize Pokémon - 902 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #88 / 251
  • Number of attempts: 6
Replace csv column if it's not empty - 317 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 18
  • Position: #78 / 103
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 309 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 46
  • Position: #58 / 123
  • Number of attempts: 5
Append leading hyphen count to each line - 157 entries

Append the number of leading hyphens to the end of each line.

  • Best score: 23
  • Best player score: 25
  • Position: #18 / 43
  • Number of attempts: 5
Markdown Blog Editing - 488 entries

Convert the given link text in start file to a markdown link list.

  • Best score: 30
  • Best player score: 50
  • Position: #71 / 119
  • Number of attempts: 1
Fix timezone format - 385 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

  • Best score: 15
  • Best player score: 16
  • Position: #31 / 126
  • Number of attempts: 3
Morse - 204 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 46
  • Position: #19 / 38
  • Number of attempts: 1
Find fix point of cos - 1486 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 15
  • Position: #258 / 435
  • Number of attempts: 2
Paste a column after a column - 2672 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 7
  • Best player score: 17
  • Position: #245 / 580
  • Number of attempts: 4
Lowercase first characters - 509 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 56
  • Position: #165 / 188
  • Number of attempts: 1
citizen_hacks_2019_challenge2 - 210 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #97 / 109
  • Number of attempts: 1
citizen_hacks_2019_challenge3 - 43 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 4
  • Best player score: 5
  • Position: #39 / 40
  • Number of attempts: 1
citizen_hacks_2019_challenge4 - 110 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 5
  • Best player score: 5
  • Position: #54 / 71
  • Number of attempts: 1
citizen_hacks_2019_challenge5 - 158 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #52 / 82
  • Number of attempts: 3
Line under headers - 2095 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 36
  • Position: #407 / 515
  • Number of attempts: 6
citizen_hacks_2019_challenge6 - 70 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Position: #49 / 55
  • Number of attempts: 1
lamb had a little Mary - 661 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 50
  • Position: #170 / 181
  • Number of attempts: 1
citizen_hacks_2019_challenge1 - 59 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 5
  • Best player score: 5
  • Position: #40 / 49
  • Number of attempts: 1
Compile C - 454 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 32
  • Position: #137 / 146
  • Number of attempts: 1
Sort and add attributes - 1605 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 37
  • Position: #509 / 622
  • Number of attempts: 2
Reconstruct the Sentence - 1763 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 21
  • Position: #277 / 461
  • Number of attempts: 3
guyontristan
Github:

entered into 23 challenges

contributed 0 challenges