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

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

  • Best score: 14
  • Best player score: 14
  • Position: #17 / 144
  • Number of attempts: 8
Many duplicates - 802 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #20 / 268
  • Number of attempts: 8
2 quick changes and a numbered list - 425 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 37
  • Position: #21 / 101
  • Number of attempts: 19
delete swap - 981 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #213 / 320
  • Number of attempts: 7
Put a newline after every 10 lines in vim - 1294 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #33 / 443
  • Number of attempts: 6
hello-world-vimgolf - 1900 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #253 / 543
  • Number of attempts: 4
Contribute to keyboard mashing - 735 entries

Speak in tongues

  • Best score: 17
  • Best player score: 17
  • Position: #47 / 227
  • Number of attempts: 6
Inverting Lines - 1524 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #187 / 413
  • Number of attempts: 7
swap number pairs - 1838 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 16
  • Position: #54 / 340
  • Number of attempts: 17
Ted
Twitter:

entered into 9 challenges

contributed 0 challenges