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 - 33616 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 / 7420
  • Number of attempts: 7
Split line with dots - 2144 entries

This line is too long, split it.

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

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #301 / 703
  • Number of attempts: 5
Extract HTML option values from tag values - 110 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: #31 / 44
  • Number of attempts: 2
Interactive git rebase changing commands - 172 entries

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

  • Best score: 14
  • Best player score: 15
  • Position: #29 / 79
  • Number of attempts: 3
42-header - 43 entries

Rush 42mexican-standoff at 42 school

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

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

  • Best score: 16
  • Best player score: 17
  • Position: #51 / 122
  • Number of attempts: 5
Paragraph breaks - 522 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Position: #54 / 167
  • Number of attempts: 2
Where should I put the Newline? - 881 entries

Help me put the newline.

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

entered into 9 challenges

contributed 0 challenges