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

Just give me the numbers.

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

Simply add a semicolon at the end of each line

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

Create a box around a line.

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

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2135 / 4225
  • Number of attempts: 1
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1227 / 3991
  • Number of attempts: 4
Delete unwanted lines - 451 entries

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

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

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

  • Best score: 18
  • Best player score: 25
  • Position: #530 / 789
  • Number of attempts: 2
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #755 / 1764
  • Number of attempts: 4
Shebangs for all - 2103 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: #227 / 533
  • Number of attempts: 4
Simple text editing with Vim - 13645 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 / 3907
  • 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