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

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 22
  • Position: #31 / 76
  • Number of attempts: 6
Rearrange array to single level - 1829 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: #291 / 307
  • Number of attempts: 1
Copy punctuation - 739 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: #131 / 181
  • Number of attempts: 1
months to html list items - 1151 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 30
  • Position: #232 / 311
  • Number of attempts: 2
delete swap - 1912 entries

delete all swap

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

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

  • Best score: 17
  • Best player score: 61
  • Position: #172 / 209
  • 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 - 34012 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: #5406 / 7513
  • 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 - 4341 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1021 / 1200
  • Number of attempts: 3
Simple text editing with Vim - 13626 entries

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

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

i like evolving things

entered into 12 challenges

contributed 0 challenges