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

Basic renumbering - 5087 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 4
replacing each line of a block selection - 2682 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 23
  • Number of attempts: 1
Every other line - 2485 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 6
One number per line - 16220 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 5
From argument to object - 1212 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 18
  • Number of attempts: 2
Collect List - 3874 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Simple, Practical, and Common - 29774 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: 22
  • Number of attempts: 6
I forgot quotes - 14259 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 4
Don't know what this is - 1864 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Words in parens - 11973 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
Order and join - 796 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 1
Swap values - 4155 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Just the middle - 10319 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
V to the i - 4335 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Search and Replace 0 - 4434 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 3
-a-b-c- - 2854 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
moritz
Twitter:

entered into 16 challenges

contributed 0 challenges