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

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

  • Best score: 12
  • Best player score: 16
  • Position: #1093 / 1549
  • Number of attempts: 1
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #268 / 4114
  • Number of attempts: 2
Collect List - 4184 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 30
  • Position: #1149 / 1167
  • Number of attempts: 1
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3073 / 4116
  • Number of attempts: 2
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #1929 / 3919
  • Number of attempts: 3
switch variable - 4944 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #676 / 1708
  • Number of attempts: 2
Make it more readable - 1897 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #327 / 624
  • Number of attempts: 2
Simple text editing with Vim - 11657 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #840 / 3418
  • Number of attempts: 2
Flugsio
Twitter:

Ruby/C#/Java/whatever Programmer, OSS/Linux Enthusiast, currently learning Rust/Scala/C, lojban mumbler & mamuktiledutcidu

entered into 8 challenges

contributed 0 challenges