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

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

  • Best score: 12
  • Best player score: 13
  • Position: #836 / 1643
  • Number of attempts: 5
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1663 / 4234
  • Number of attempts: 2
vim1001 - 307 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: #32 / 110
  • Number of attempts: 3
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #501 / 3979
  • Number of attempts: 11
Shebangs for all - 2062 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: #147 / 525
  • Number of attempts: 7
~Nicolas_Poulain
Twitter:

Prof de maths, formateur Tice DAFOR @Academie_Paris.

entered into 5 challenges

contributed 0 challenges