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 - 2413 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 / 523
  • Number of attempts: 8
Many duplicates - 1350 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #20 / 440
  • Number of attempts: 8
2 quick changes and a numbered list - 615 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 / 148
  • Number of attempts: 19
delete swap - 1650 entries

delete all swap

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

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

  • Best score: 10
  • Best player score: 10
  • Position: #32 / 551
  • Number of attempts: 6
hello-world-vimgolf - 2472 entries

Simple number generation

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

Speak in tongues

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

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

  • Best score: 10
  • Best player score: 10
  • Position: #187 / 505
  • Number of attempts: 7
Modernise code - 1368 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #64 / 316
  • Number of attempts: 3
swap number pairs - 2023 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #54 / 373
  • Number of attempts: 17
Python: Def to Lambda - 441 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Position: #79 / 154
  • Number of attempts: 6
Ted
Twitter:

entered into 11 challenges

contributed 0 challenges