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

Search and Replace 0 - 4580 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #756 / 1516
  • Number of attempts: 5
Just the middle - 11080 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1618 / 4091
  • Number of attempts: 2
vim1001 - 253 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 21
  • Position: #27 / 100
  • Number of attempts: 3
Words in parens - 12682 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #476 / 3905
  • Number of attempts: 11
Shebangs for all - 1730 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 12
  • Position: #129 / 460
  • Number of attempts: 7
~Nicolas_Poulain
Twitter:

Prof de maths, formateur Tice DAFOR @Academie_Paris.

entered into 5 challenges

contributed 0 challenges