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 - 25750 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: 29
  • Number of attempts: 2
Change part of a function name in multiple occurrences - 439 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 8
Words in parens - 11183 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 1
Delete to the end of the current line - 488 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 1
I forgot quotes - 12173 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 11
Just the middle - 9428 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 1
remove lines containing the word "reader" - 1881 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 2

Contributed Challenges

Change part of a function name in multiple occurrences - 439 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

Delete to the end of the current line - 488 entries

Delete to the end of the current line, but keep the character under the cursor.

xiong yuwu
Twitter:

entered into 7 challenges

contributed 2 challenges