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 - 32765 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
  • Position: #4730 / 7241
  • Number of attempts: 2
remove lines containing the word "reader" - 3436 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #491 / 1113
  • Number of attempts: 2
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3728 / 4093
  • Number of attempts: 1
Change part of a function name in multiple occurrences - 595 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
  • Position: #65 / 190
  • Number of attempts: 8
Delete to the end of the current line - 711 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #246 / 348
  • Number of attempts: 1
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #813 / 4098
  • Number of attempts: 11
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2930 / 3906
  • Number of attempts: 1

Contributed Challenges

Delete to the end of the current line - 711 entries

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

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

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

xiong yuwu
Twitter:

entered into 7 challenges

contributed 2 challenges