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

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

  • Best score: 14
  • Best player score: 41
  • Position: #256 / 308
  • Number of attempts: 1
months to html list items - 1161 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 39
  • Position: #285 / 314
  • Number of attempts: 4
Quicksort - 2114 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: 34
  • Position: #397 / 473
  • Number of attempts: 2
Tic-Tac-Toe Grid Transformation - 450 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: 206
  • Position: #80 / 88
  • Number of attempts: 2
Populate 3D bone names list - 661 entries

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

  • Best score: 21
  • Best player score: 92
  • Position: #171 / 172
  • Number of attempts: 1
Remove line numbers - 791 entries

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

  • Best score: 8
  • Best player score: 62
  • Position: #201 / 210
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 584 entries

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

  • Best score: 17
  • Best player score: 21
  • Position: #320 / 330
  • Number of attempts: 2
Easier Align - 449 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 448
  • Position: #90 / 101
  • Number of attempts: 2
CSV to MD format - 450 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 93
  • Position: #73 / 99
  • Number of attempts: 2
mst_ysk
Github:

entered into 9 challenges

contributed 0 challenges