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 - 24453 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: 2
  • Best player score: 26
  • Number of attempts: 6
Words in parens - 10930 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 24
  • Number of attempts: 1
Simple text editing with Vim - 10332 entries

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

  • Best score: 13
  • Best player score: 23
  • Number of attempts: 2
Split line with dots - 1799 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 4
One number per line - 12428 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 7
Swap values - 3483 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 8
Fiddle percentages into real numbers - 711 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9432 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
Just the middle - 9074 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 2
One to Ten - 845 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 3
drumstix576
Twitter:

Persistence is a virtue

entered into 10 challenges

contributed 0 challenges