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

Applying same text modification in several lines - 2751 entries

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

  • Best score: 12
  • Best player score: 24
  • Position: #723 / 815
  • Number of attempts: 1
Extract argument from function - 2218 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 19
  • Position: #666 / 729
  • Number of attempts: 1
Search and Replace 0 - 4676 entries

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

  • Best score: 12
  • Best player score: 18
  • Position: #1324 / 1549
  • Number of attempts: 3
That hyphen - 2500 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 17
  • Position: #626 / 683
  • Number of attempts: 1
Order and join - 881 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 19
  • Position: #225 / 242
  • Number of attempts: 2
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2955 / 4116
  • Number of attempts: 2
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 28
  • Position: #1094 / 1112
  • Number of attempts: 1
Random
Twitter:

entered into 7 challenges

contributed 0 challenges