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

One number per line - 18751 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #729 / 3869
  • Number of attempts: 10
Add semicolons - 10877 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #158 / 3070
  • Number of attempts: 9
Box it - 7915 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #170 / 1880
  • Number of attempts: 12
I forgot quotes - 16014 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2115 / 4188
  • Number of attempts: 1
Words in parens - 12966 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1216 / 3968
  • Number of attempts: 4
Delete unwanted lines - 419 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #18 / 230
  • Number of attempts: 4
replacing each line of a block selection - 3001 entries

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

  • Best score: 18
  • Best player score: 25
  • Position: #522 / 778
  • Number of attempts: 2
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #746 / 1749
  • Number of attempts: 4
Shebangs for all - 2016 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: 14
  • Position: #219 / 518
  • Number of attempts: 4
Simple text editing with Vim - 12929 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #51 / 3723
  • Number of attempts: 7
omahn
Twitter:

Consultant at @scalefactory - AWS Solutions Architect/Security Speciality. Geek. Railway nerd. Free software advocate.

entered into 10 challenges

contributed 0 challenges