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 - 1379 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: #187 / 223
  • Number of attempts: 1
months to html list items - 1038 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 39
  • Position: #256 / 283
  • Number of attempts: 4
Quicksort - 2001 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: #368 / 439
  • Number of attempts: 2
Tic-Tac-Toe Grid Transformation - 396 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: #75 / 83
  • Number of attempts: 2
Populate 3D bone names list - 629 entries

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

  • Best score: 21
  • Best player score: 92
  • Position: #161 / 162
  • Number of attempts: 1
Remove line numbers - 736 entries

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

  • Best score: 9
  • Best player score: 62
  • Position: #191 / 198
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 561 entries

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

  • Best score: 17
  • Best player score: 21
  • Position: #306 / 314
  • Number of attempts: 2
Easier Align - 406 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 448
  • Position: #86 / 96
  • Number of attempts: 2
CSV to MD format - 413 entries

To convert a CSV list to Markdown list

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

entered into 9 challenges

contributed 0 challenges