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

Simple, Practical, and Common - 24516 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: 28
  • Number of attempts: 2
Box it - 2449 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 11
Simple text editing with Vim - 10354 entries

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

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 2
One number per line - 12477 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 8
remove lines containing the word "reader" - 1457 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 6
simple format - 2612 entries

make it look better.

  • Best score: 20
  • Best player score: 20
  • Number of attempts: 37
Align commas - 833 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 10
Com(m)a Trouble - 1627 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 10
Change part of a function name in multiple occurrences - 374 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 5
波波
Twitter:

entered into 9 challenges

contributed 0 challenges