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

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 22
  • Position: #24 / 62
  • Number of attempts: 6
Rearrange array to single level - 1528 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: #240 / 254
  • Number of attempts: 1
Copy punctuation - 599 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: #112 / 149
  • Number of attempts: 1
months to html list items - 1088 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 30
  • Position: #220 / 295
  • Number of attempts: 2
delete swap - 1809 entries

delete all swap

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

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

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #415 / 559
  • Number of attempts: 1
Simple, Practical, and Common - 33787 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: #5381 / 7454
  • Number of attempts: 3
A grid of punctuation - 140 entries

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

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

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 31
  • Position: #139 / 141
  • Number of attempts: 1
Collect List - 4312 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1015 / 1193
  • Number of attempts: 3
Simple text editing with Vim - 13134 entries

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

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

i like evolving things

entered into 12 challenges

contributed 0 challenges