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

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

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

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #63 / 242
  • Number of attempts: 6
Quicksort - 1838 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 26
  • Position: #271 / 403
  • Number of attempts: 2
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: 18
  • Position: #55 / 154
  • Number of attempts: 6
Tic-Tac-Toe Grid Transformation - 381 entries

Your mission is to efficiently convert the original Tic-Tac-Toe grid, represented by 'x's and 'o's, into a neat and well-organized game board.

  • Best score: 56
  • Best player score: 100
  • Position: #30 / 82
  • Number of attempts: 4
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: 26
  • Position: #61 / 147
  • Number of attempts: 1
Remove line numbers - 671 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 10
  • Best player score: 12
  • Position: #52 / 182
  • Number of attempts: 5
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: #56 / 381
  • Number of attempts: 7
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: #178 / 294
  • Number of attempts: 1
Substraction (bis) - 584 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 21
  • Best player score: 23
  • Position: #35 / 111
  • Number of attempts: 8
Increment number for every 10 lines - 229 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 60
  • Position: #44 / 63
  • Number of attempts: 3
Inverting Lines - 1879 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #217 / 507
  • Number of attempts: 5
CSV to MD format - 413 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 71
  • Position: #45 / 94
  • Number of attempts: 6
One number per line - 18705 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #766 / 3855
  • Number of attempts: 1
attr_aligner - 3498 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 19
  • Position: #180 / 696
  • Number of attempts: 1
Words in parens - 12918 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1174 / 3957
  • Number of attempts: 4
shikitanrei
Twitter2:

entered into 16 challenges

contributed 0 challenges