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

delete all swap

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

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

  • Best score: 12
  • Best player score: 13
  • Position: #278 / 864
  • Number of attempts: 4
I forgot quotes - 16127 entries

Oops.

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

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

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

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #345 / 676
  • Number of attempts: 2
Generate Fibonacci Numbers - 300 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 58
  • Position: #104 / 106
  • 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: 20
  • Position: #433 / 525
  • Number of attempts: 2
The Cake is a Lie - 1389 entries

Correct the capitalization of each word

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

Make the header text stand out with surrounding asterisks

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

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

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

entered into 10 challenges

contributed 0 challenges