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

Paste a column after a column - 2610 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 22
  • Position: #350 / 566
  • Number of attempts: 4
Put a newline after every 10 lines in vim - 1664 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 16
  • Position: #496 / 559
  • Number of attempts: 1
Java to JavaScript - 285 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 102
  • Position: #60 / 76
  • Number of attempts: 1
hello-world-vimgolf - 2506 entries

Simple number generation

  • Best score: 10
  • Best player score: 16
  • Position: #592 / 713
  • Number of attempts: 1
Contribute to keyboard mashing - 898 entries

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #225 / 272
  • Number of attempts: 1
simple replacements - 1829 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 31
  • Position: #357 / 394
  • Number of attempts: 1
Put a cross in the square - 235 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 25
  • Position: #81 / 92
  • Number of attempts: 1
quotes inside quotes - 3182 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 19
  • Position: #1008 / 1085
  • Number of attempts: 3
Assign list - 193 entries

Assign list elements to matrix

  • Best score: 30
  • Best player score: 61
  • Position: #59 / 62
  • Number of attempts: 3
Circle in a square - 152 entries

Probably looks more like "Egg in a rectangle" in most fonts, but it's actually 23x23.

  • Best score: 23
  • Best player score: 45
  • Position: #28 / 54
  • Number of attempts: 1
Pacific Grove
Twitter:

entered into 10 challenges

contributed 0 challenges