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 - 2262 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 / 491
  • Number of attempts: 8
Many duplicates - 1254 entries

Quick and easy

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

delete all swap

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

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

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

Simple number generation

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

Speak in tongues

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

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

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

Modernise and clean up some C++ code.

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

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

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

LAMBDA!!!

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

entered into 11 challenges

contributed 0 challenges