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

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 22
  • Position: #29 / 68
  • Number of attempts: 6
Rearrange array to single level - 1649 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: #258 / 272
  • Number of attempts: 1
Copy punctuation - 671 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: #120 / 159
  • Number of attempts: 1
months to html list items - 1110 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 30
  • Position: #225 / 301
  • Number of attempts: 2
delete swap - 1818 entries

delete all swap

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

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

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #417 / 561
  • Number of attempts: 1
Simple, Practical, and Common - 33866 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: #5389 / 7474
  • 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 - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1016 / 1194
  • Number of attempts: 3
Simple text editing with Vim - 13266 entries

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

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

i like evolving things

entered into 12 challenges

contributed 0 challenges