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

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

  • Best score: 16
  • Best player score: 41
  • Position: #18 / 22
  • Number of attempts: 1
months to html list items - 826 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 39
  • Position: #199 / 222
  • Number of attempts: 4
Quicksort - 1757 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: #325 / 385
  • Number of attempts: 2
Tic-Tac-Toe Grid Transformation - 329 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: #72 / 80
  • Number of attempts: 2
Populate 3D bone names list - 525 entries

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

  • Best score: 21
  • Best player score: 92
  • Position: #140 / 141
  • Number of attempts: 1
Remove line numbers - 654 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: #166 / 173
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 507 entries

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

  • Best score: 17
  • Best player score: 21
  • Position: #279 / 287
  • Number of attempts: 2
Easier Align - 358 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 448
  • Position: #82 / 92
  • Number of attempts: 2
CSV to MD format - 404 entries

To convert a CSV list to Markdown list

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

entered into 9 challenges

contributed 0 challenges