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

Move to corresponding lines - 335 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 22
  • Position: #32 / 77
  • Number of attempts: 6
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: 98
  • Position: #292 / 308
  • Number of attempts: 1
Copy punctuation - 760 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 48
  • Position: #137 / 188
  • Number of attempts: 1
months to html list items - 1161 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 30
  • Position: #235 / 314
  • Number of attempts: 2
delete swap - 1918 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #369 / 583
  • Number of attempts: 7
Visual block training - 1126 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 61
  • Position: #173 / 210
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1688 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #420 / 567
  • Number of attempts: 1
Simple, Practical, and Common - 34031 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 30
  • Position: #5411 / 7520
  • Number of attempts: 3
A grid of punctuation - 156 entries

Create a checkerboard of = and - in an 80×24 grid!

  • Best score: 16
  • Best player score: 63
  • Position: #65 / 65
  • Number of attempts: 1
Generate a list of numbers - 312 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 31
  • Position: #142 / 144
  • Number of attempts: 1
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 7
  • Best player score: 17
  • Position: #1022 / 1200
  • Number of attempts: 3
Simple text editing with Vim - 13682 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #2086 / 3920
  • Number of attempts: 6
mindwrapped
Twitter2:

i like evolving things

entered into 12 challenges

contributed 0 challenges