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

Applying same text modification in several lines - 2900 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #277 / 859
  • Number of attempts: 4
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1141 / 4194
  • Number of attempts: 9
lamb had a little Mary - 637 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 32
  • Position: #68 / 174
  • Number of attempts: 7
Switch function arguments - 2152 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #342 / 667
  • Number of attempts: 2
Generate Fibonacci Numbers - 289 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 58
  • Position: #101 / 102
  • Number of attempts: 2
Shebangs for all - 2046 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: 20
  • Position: #431 / 522
  • Number of attempts: 2
The Cake is a Lie - 1374 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #290 / 534
  • Number of attempts: 4
Make Fancy Header - 1070 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 16
  • Position: #130 / 348
  • Number of attempts: 4
Simple text editing with Vim - 13092 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #2710 / 3765
  • Number of attempts: 4
rosenb26
Github:

entered into 9 challenges

contributed 0 challenges