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 - 33385 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
  • Position: #224 / 7364
  • Number of attempts: 7
Split line with dots - 2125 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Position: #5 / 630
  • Number of attempts: 5
Every other line - 2886 entries

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #299 / 700
  • Number of attempts: 5
Extract HTML option values from tag values - 98 entries

Generate HTML option values from the text in the option tag. If the text contains multiple words, replace the spaces with an underscore and convert all capital letters to small letters.

  • Best score: 34
  • Best player score: 38
  • Position: #29 / 42
  • Number of attempts: 2
Interactive git rebase changing commands - 161 entries

How to change the action of some commits in git rebase dialog.

  • Best score: 15
  • Best player score: 15
  • Position: #28 / 77
  • Number of attempts: 3
42-header - 38 entries

Rush 42mexican-standoff at 42 school

  • Best score: 22
  • Best player score: 49
  • Position: #14 / 14
  • Number of attempts: 1
Wrap text in quotes - 349 entries

All the blocks of text should be wrapped in quotation marks.

  • Best score: 16
  • Best player score: 17
  • Position: #49 / 120
  • Number of attempts: 5
Paragraph breaks - 505 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Position: #52 / 165
  • Number of attempts: 2
Where should I put the Newline? - 863 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Position: #162 / 431
  • Number of attempts: 2
Benjamin Schindler
Twitter:

entered into 9 challenges

contributed 0 challenges