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

Manual SQL - 93 entries

Change select and insert queries to simulate inserting a new record.

  • Best score: 49
  • Best player score: 59
  • Number of attempts: 3
Sorting database text output - 188 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: 24
  • Number of attempts: 3
Numbering a List - 1746 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 1
Gray area - 650 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9653 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Simple, Practical, and Common - 26160 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: 14
  • Best player score: 22
  • Number of attempts: 4
Collect List - 3575 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
V to the i - 4054 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Mess in revision history - 995 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 23
  • Number of attempts: 5
Increment, increment, increment.... - 492 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 2
Words in parens - 11260 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 4
Count both ways - 880 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
120 Degrees - 370 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 4
VimGolfNight - 458 entries

Based on "The name of the game".

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

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 2
Jonas Nockert
Twitter:

Studies math in order to study computer science.

entered into 15 challenges

contributed 0 challenges