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 - 568 entries

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

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

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

  • Best score: 13
  • Best player score: 21
  • Position: #99 / 108
  • Number of attempts: 2
Reorganize Pokémon - 772 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #78 / 214
  • Number of attempts: 6
Replace csv column if it's not empty - 255 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: #68 / 87
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 256 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: #52 / 100
  • Number of attempts: 5
Append leading hyphen count to each line - 126 entries

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

  • Best score: 23
  • Best player score: 25
  • Position: #16 / 35
  • Number of attempts: 5
Markdown Blog Editing - 456 entries

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

  • Best score: 30
  • Best player score: 50
  • Position: #66 / 107
  • Number of attempts: 1
Fix timezone format - 326 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: #30 / 105
  • Number of attempts: 3
Morse - 178 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 46
  • Position: #18 / 36
  • Number of attempts: 1
Find fix point of cos - 1468 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 / 431
  • Number of attempts: 2
Paste a column after a column - 2662 entries

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

  • Best score: 14
  • Best player score: 17
  • Position: #244 / 576
  • Number of attempts: 4
Lowercase first characters - 499 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: #163 / 185
  • Number of attempts: 1
citizen_hacks_2019_challenge2 - 204 entries

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

  • Best score: 4
  • Best player score: 5
  • Position: #38 / 38
  • Number of attempts: 1
citizen_hacks_2019_challenge4 - 102 entries

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

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

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

  • Best score: 24
  • Best player score: 36
  • Position: #405 / 513
  • Number of attempts: 6
citizen_hacks_2019_challenge6 - 67 entries

For the Citizen Hacks 2019 Vim competition.

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

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

  • Best score: 16
  • Best player score: 50
  • Position: #168 / 177
  • Number of attempts: 1
citizen_hacks_2019_challenge1 - 55 entries

For the Citizen Hacks 2019 Vim competition

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

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 32
  • Position: #136 / 145
  • Number of attempts: 1
Sort and add attributes - 1557 entries

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

  • Best score: 33
  • Best player score: 37
  • Position: #494 / 601
  • Number of attempts: 2
Reconstruct the Sentence - 1697 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: #268 / 445
  • Number of attempts: 3
guyontristan
Github:

entered into 23 challenges

contributed 0 challenges