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

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

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

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

  • Best score: 13
  • Best player score: 21
  • Position: #94 / 103
  • Number of attempts: 2
Reorganize Pokémon - 691 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #72 / 190
  • Number of attempts: 6
Replace csv column if it's not empty - 248 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: #65 / 83
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 236 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: #50 / 91
  • Number of attempts: 5
Append leading hyphen count to each line - 108 entries

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

  • Best score: 23
  • Best player score: 25
  • Position: #14 / 31
  • Number of attempts: 5
Markdown Blog Editing - 434 entries

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

  • Best score: 30
  • Best player score: 50
  • Position: #62 / 101
  • Number of attempts: 1
Fix timezone format - 318 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 / 101
  • Number of attempts: 3
Morse - 155 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 46
  • Position: #17 / 35
  • Number of attempts: 1
Find fix point of cos - 1444 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: #256 / 427
  • Number of attempts: 2
Paste a column after a column - 2632 entries

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

  • Best score: 14
  • Best player score: 17
  • Position: #240 / 570
  • Number of attempts: 4
Lowercase first characters - 490 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: #162 / 184
  • Number of attempts: 1
citizen_hacks_2019_challenge2 - 202 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #96 / 104
  • Number of attempts: 1
citizen_hacks_2019_challenge3 - 40 entries

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

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

For the Citizen Hacks 2019 Vim competition.

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

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

  • Best score: 24
  • Best player score: 36
  • Position: #403 / 510
  • Number of attempts: 6
citizen_hacks_2019_challenge6 - 66 entries

For the Citizen Hacks 2019 Vim competition.

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

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

  • Best score: 16
  • Best player score: 50
  • Position: #167 / 176
  • Number of attempts: 1
citizen_hacks_2019_challenge1 - 54 entries

For the Citizen Hacks 2019 Vim competition

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

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 32
  • Position: #134 / 143
  • Number of attempts: 1
Sort and add attributes - 1539 entries

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

  • Best score: 33
  • Best player score: 37
  • Position: #489 / 594
  • Number of attempts: 2
Reconstruct the Sentence - 1677 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: #266 / 440
  • Number of attempts: 3
guyontristan
Github:

entered into 23 challenges

contributed 0 challenges