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

delete swap - 1818 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #389 / 567
  • Number of attempts: 5
Applying same text modification in several lines - 2915 entries

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

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

Oops.

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

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

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

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #344 / 674
  • Number of attempts: 2
Generate Fibonacci Numbers - 294 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 58
  • Position: #103 / 104
  • Number of attempts: 2
Shebangs for all - 2049 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 / 523
  • Number of attempts: 2
The Cake is a Lie - 1386 entries

Correct the capitalization of each word

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

Make the header text stand out with surrounding asterisks

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

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

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

entered into 10 challenges

contributed 0 challenges