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 - 1093 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: #35 / 185
  • Number of attempts: 6
Morse - 131 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 190
  • Position: #26 / 30
  • Number of attempts: 3
New teacher - 836 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 22
  • Position: #47 / 174
  • 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 - 957 entries

Turn the months into list items.

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

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

  • Best score: 17
  • Best player score: 41
  • Position: #131 / 158
  • Number of attempts: 2
Populate 3D bone names list - 589 entries

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

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

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

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

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

  • Best score: 24
  • Best player score: 26
  • Position: #110 / 344
  • Number of attempts: 8
Poorly indented Python comments - 1313 entries

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

  • Best score: 15
  • Best player score: 33
  • Position: #127 / 220
  • Number of attempts: 3
Many duplicates - 1443 entries

Quick and easy

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

delete all swap

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

Speak in tongues

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

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

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

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

  • Best score: 16
  • Best player score: 27
  • Position: #456 / 775
  • Number of attempts: 3
Simple text editing with Vim - 12680 entries

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

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

entered into 17 challenges

contributed 0 challenges