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

Simple, Practical, and Common - 33742 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: 28
  • Position: #4315 / 7447
  • Number of attempts: 3
One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 26
  • Position: #3415 / 3875
  • Number of attempts: 1
Split line with dots - 2154 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 25
  • Position: #523 / 635
  • Number of attempts: 3
From argument to object - 1513 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 23
  • Position: #411 / 460
  • Number of attempts: 3
Team names - 1841 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 19
  • Position: #422 / 589
  • Number of attempts: 1
Python Hello World! Reformatting - 1006 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 44
  • Position: #244 / 383
  • Number of attempts: 3
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 19
  • Position: #1108 / 1192
  • Number of attempts: 2
Happy TvvO - 427 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 19
  • Position: #203 / 206
  • Number of attempts: 1
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3632 / 4192
  • Number of attempts: 1
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 18
  • Position: #1642 / 1749
  • Number of attempts: 1
Shebangs for all - 2018 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: 24
  • Position: #476 / 519
  • Number of attempts: 1
Daniel de Vries
Twitter:

entered into 11 challenges

contributed 0 challenges