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

That hyphen - 1841 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Vice versa - 5300 entries

Little role switching.

  • Best score: 2
  • Best player score: 12
  • Number of attempts: 4
Change name of a variable - 143 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
I forgot quotes - 10039 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
Simple, Practical, and Common - 20861 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: 5
  • Best player score: 22
  • Number of attempts: 8
learn vim in short time - 175 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 2
JS notation to Immutable.js notation - 137 entries

Now Immutable.js made its way into many frontends. This challenge consists of a typical refactoring that many of us are facing now.

  • Best score: 35
  • Best player score: 37
  • Number of attempts: 4
Increment, increment, increment.... - 465 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
Just the middle - 8429 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
A simple change - 350 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Every other line - 1764 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 1
Simple text editing with Vim - 9868 entries

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

  • Best score: 13
  • Best player score: 24
  • Number of attempts: 3
Interweave two blocks of text - 472 entries

Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 6
Ralf Haffa
Twitter:

entered into 13 challenges

contributed 0 challenges