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

months to html list items - 633 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 26
  • Position: #86 / 178
  • Number of attempts: 1
Populate 3D bone names list - 461 entries

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

  • Best score: 21
  • Best player score: 26
  • Position: #52 / 124
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 489 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #183 / 274
  • Number of attempts: 1
Paste a column after a column - 2293 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 27
  • Position: #362 / 496
  • Number of attempts: 2
Many duplicates - 1270 entries

Quick and easy

  • Best score: 7
  • Best player score: 10
  • Position: #345 / 417
  • Number of attempts: 1
Fix the shell script! - 2369 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 34
  • Position: #294 / 546
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1588 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #193 / 529
  • Number of attempts: 3
Plotting some variables in python - 1583 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 42
  • Position: #142 / 336
  • Number of attempts: 1

Contributed Challenges

months to html list items - 633 entries

Turn the months into list items.

George Angelopoulos
Github:

entered into 8 challenges

contributed 1 challenges