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

Word completion - 207 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 101
  • Position: #42 / 58
  • Number of attempts: 1
Search and Replace 0 - 5004 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 16
  • Position: #1251 / 1630
  • Number of attempts: 1
Numbering a List - 1935 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Position: #351 / 654
  • Number of attempts: 3
A Simple One - 1057 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 13
  • Position: #641 / 667
  • Number of attempts: 4
Whitespace, empty lines and tabs - 3763 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 25
  • Position: #414 / 807
  • Number of attempts: 7
Simple text editing with Vim - 13013 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #2025 / 3744
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 7173 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 59
  • Position: #1591 / 1761
  • Number of attempts: 2
einrock
Github:

entered into 7 challenges

contributed 0 challenges