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

Many duplicates - 1447 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #211 / 470
  • Number of attempts: 6
delete swap - 1788 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #209 / 557
  • Number of attempts: 6
Search and Replace 0 - 5004 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #712 / 1630
  • Number of attempts: 5
Add to end of each line... kinda - 333 entries

Visual-block mode can be used to add something to the end of each line, even if they are of differing lengths. However, what if it's not quite at the end?

  • Best score: 12
  • Best player score: 12
  • Position: #104 / 174
  • Number of attempts: 6
Square numbers - 123 entries

Boring math puzzle.

  • Best score: 16
  • Best player score: 31
  • Position: #28 / 42
  • Number of attempts: 1
I forgot quotes - 16022 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #2038 / 4189
  • Number of attempts: 6
Reverse characters in a line - 776 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 13
  • Position: #88 / 267
  • Number of attempts: 11
Change the content of a string - 1593 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #323 / 594
  • Number of attempts: 4
Simple text editing with Vim - 12996 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #2862 / 3739
  • Number of attempts: 5
Berkay Berabi
Twitter:

entered into 9 challenges

contributed 0 challenges