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

Rearrange array to single level - 965 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 19
  • Position: #31 / 164
  • Number of attempts: 6
Morse - 125 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 190
  • Position: #25 / 28
  • Number of attempts: 3
New teacher - 782 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 22
  • Position: #43 / 161
  • Number of attempts: 7
Replace word while reserving first letter case - 563 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 25
  • Position: #29 / 113
  • Number of attempts: 9
months to html list items - 916 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #17 / 242
  • Number of attempts: 4
EDN reformat - 1102 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 41
  • Position: #128 / 154
  • Number of attempts: 2
Populate 3D bone names list - 580 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 21
  • Position: #27 / 147
  • Number of attempts: 2
Find fix point of cos - 1303 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: 14
  • Position: #60 / 381
  • Number of attempts: 3
Surround the 'z' character with brackets, quotes, and print as formatted string. - 532 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #191 / 294
  • Number of attempts: 2
Reformat symbols in list - 1570 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 26
  • Position: #107 / 337
  • Number of attempts: 8
Poorly indented Python comments - 1300 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 33
  • Position: #126 / 218
  • Number of attempts: 3
Many duplicates - 1420 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #278 / 458
  • Number of attempts: 4
delete swap - 1754 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #318 / 542
  • Number of attempts: 3
Contribute to keyboard mashing - 887 entries

Speak in tongues

  • Best score: 17
  • Best player score: 17
  • Position: #52 / 269
  • Number of attempts: 8
Inverting Lines - 1879 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #223 / 507
  • Number of attempts: 6
Whitespace, empty lines and tabs - 3559 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 27
  • Position: #453 / 768
  • Number of attempts: 3
Simple text editing with Vim - 12616 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1992 / 3650
  • Number of attempts: 4
Seungho Lee
Github:

entered into 17 challenges

contributed 0 challenges