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 - 1472 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #213 / 480
  • Number of attempts: 6
delete swap - 1834 entries

delete all swap

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

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

  • Best score: 12
  • Best player score: 12
  • Position: #712 / 1644
  • Number of attempts: 5
Add to end of each line... kinda - 339 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 / 176
  • Number of attempts: 6
Square numbers - 125 entries

Boring math puzzle.

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

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #2047 / 4208
  • Number of attempts: 6
Reverse characters in a line - 807 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: #90 / 272
  • Number of attempts: 11
Change the content of a string - 1750 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #345 / 639
  • Number of attempts: 4
Simple text editing with Vim - 13427 entries

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

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

entered into 9 challenges

contributed 0 challenges