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

Replace word while reserving first letter case - 370 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #21 / 85
  • Number of attempts: 9
months to html list items - 551 entries

Turn the months into list items.

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

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

  • Best score: 17
  • Best player score: 41
  • Position: #122 / 146
  • Number of attempts: 2
Populate 3D bone names list - 450 entries

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

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

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

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

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

  • Best score: 24
  • Best player score: 26
  • Position: #103 / 322
  • Number of attempts: 8
Poorly indented Python comments - 1172 entries

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

  • Best score: 15
  • Best player score: 33
  • Position: #116 / 203
  • Number of attempts: 3
Many duplicates - 1253 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #271 / 412
  • Number of attempts: 4
delete swap - 1522 entries

delete all swap

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

Speak in tongues

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

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

  • Best score: 10
  • Best player score: 10
  • Position: #223 / 497
  • Number of attempts: 6
Seungho Lee
Github:

entered into 12 challenges

contributed 0 challenges