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

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

  • Best score: 18
  • Best player score: 19
  • Position: #37 / 110
  • Number of attempts: 3
Remove adjacent duplicates - 560 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #33 / 147
  • Number of attempts: 2
Move to corresponding lines - 267 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 29
  • Position: #45 / 62
  • Number of attempts: 2
Case matching substitution - 56 entries

Swap every "lorem" for "ipsum", keeping the letter cases the same.

  • Best score: 31
  • Best player score: 40
  • Position: #8 / 16
  • Number of attempts: 7
Hex to binary - 101 entries

Convert hexadecimal numbers into binary format.

  • Best score: 29
  • Best player score: 40
  • Position: #13 / 20
  • Number of attempts: 2
Count words - 80 entries

Merge duplicates and count each word.

  • Best score: 39
  • Best player score: 61
  • Position: #10 / 20
  • Number of attempts: 6
Reverse even lines - 33 entries

Reverse only the even lines without altering the odd lines.

  • Best score: 7
  • Best player score: 21
  • Position: #9 / 12
  • Number of attempts: 1
Evil Numbers - 96 entries

Print the first 100 evil numbers https://oeis.org/A001969. This is an advert for code.golf https://code.golf/evil-numbers#viml

  • Best score: 25
  • Best player score: 84
  • Position: #17 / 25
  • Number of attempts: 1
Mirror image - 95 entries

Add the second eye

  • Best score: 15
  • Best player score: 25
  • Position: #19 / 32
  • Number of attempts: 1
Find anomalies - 157 entries

There is one special character per line

  • Best score: 30
  • Best player score: 30
  • Position: #8 / 42
  • Number of attempts: 7
Coordinate extraction - 55 entries

Get the coordinates of all "M"s from the Vim logo

  • Best score: 43
  • Best player score: 59
  • Position: #11 / 16
  • Number of attempts: 1
New teacher - 1364 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #98 / 285
  • Number of attempts: 1
Com(m)a Trouble - 3895 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 18
  • Position: #620 / 883
  • Number of attempts: 1
Context insensitive completion 0 - 590 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 6
  • Best player score: 8
  • Position: #155 / 249
  • Number of attempts: 1
Remember FizzBuzz? - 742 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 62
  • Position: #127 / 194
  • Number of attempts: 1

Contributed Challenges

Resolve the spreadsheet - 26 entries

Replace the formulas in column C with the resulting values. Divisions by zero result in NaN. Operations with NaN also result in NaN.

Sander Meij
Github:

entered into 15 challenges

contributed 1 challenges