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

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

  • Best score: 12
  • Best player score: 12
  • Position: #52 / 1644
  • Number of attempts: 5
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 26
  • Position: #4018 / 4208
  • Number of attempts: 1
replacing each line of a block selection - 3028 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 30
  • Position: #662 / 784
  • Number of attempts: 2
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: 16
  • Position: #298 / 525
  • Number of attempts: 1
optixx
Twitter:

Co-Founder at @Userlike

entered into 4 challenges

contributed 0 challenges