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

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

  • Best score: 16
  • Best player score: 19
  • Position: #7 / 22
  • Number of attempts: 6
Morse - 102 entries

Translate Morse code to Text

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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 22
  • Position: #34 / 135
  • Number of attempts: 7
Replace word while reserving first letter case - 489 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #27 / 105
  • Number of attempts: 9
months to html list items - 826 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #17 / 222
  • Number of attempts: 4
EDN reformat - 1099 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 / 153
  • Number of attempts: 2
Populate 3D bone names list - 525 entries

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

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

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

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

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

  • Best score: 24
  • Best player score: 26
  • Position: #106 / 334
  • Number of attempts: 8
Poorly indented Python comments - 1275 entries

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

  • Best score: 15
  • Best player score: 33
  • Position: #123 / 213
  • Number of attempts: 3
Many duplicates - 1350 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #276 / 440
  • Number of attempts: 4
delete swap - 1650 entries

delete all swap

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

Speak in tongues

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

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

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

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

  • Best score: 16
  • Best player score: 27
  • Position: #448 / 758
  • Number of attempts: 3
Simple text editing with Vim - 12491 entries

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

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

entered into 17 challenges

contributed 0 challenges