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 - 33878 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: 39
  • Position: #7090 / 7476
  • Number of attempts: 2
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3234 / 3889
  • Number of attempts: 4
Swap values inside brackets - 2523 entries

Easy challenge.

  • Best score: 13
  • Best player score: 32
  • Position: #555 / 587
  • Number of attempts: 2
Applying same text modification in several lines - 2915 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 24
  • Position: #773 / 863
  • Number of attempts: 3
Com(m)a Trouble - 3947 entries

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

  • Best score: 12
  • Best player score: 48
  • Position: #856 / 895
  • Number of attempts: 1
Stairs Indenting - 479 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 14
  • Position: #132 / 199
  • Number of attempts: 2
Let's play some Ivmgolf - 1138 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Position: #413 / 450
  • Number of attempts: 2
Switch function arguments - 2182 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 14
  • Position: #521 / 674
  • Number of attempts: 2
Reverse and double space - 500 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 18
  • Position: #166 / 199
  • Number of attempts: 1
Ainsley McGrath
Twitter:

If you rearrange the letters in my name you get 'Gently Charisma.' Coincidence? Probably. Snake Boy (Python dev) at @Blick_art .

entered into 9 challenges

contributed 0 challenges