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

Collect List - 4035 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 1
Vice versa - 7154 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 1
Generate Fibonacci Numbers - 211 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 34
  • Number of attempts: 1
Add semicolons - 9289 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 1
Simple, Practical, and Common - 31669 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 8
Words in parens - 12372 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 3
Sorting database text output - 194 entries

Sometimes it is nice to be able to quickly take column-formatted text output from the SQL command line and turn it into a list of useful data. In this case we want a unique, sorted list of the values from the second column combined into one comma-separated list. What is the fewest strokes you can do this in?

  • Best score: 24
  • Best player score: 26
  • Number of attempts: 1
I forgot quotes - 15122 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Gerhard Gappmeier
Twitter:

Open Source Enthusiast, C and C++ developer, Gentoo user and I'am from Austria, not Australia ;-)

entered into 8 challenges

contributed 0 challenges