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 - 2243 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 / 487
  • Number of attempts: 8
Many duplicates - 1253 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #20 / 412
  • 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 - 1522 entries

delete all swap

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

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

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

Simple number generation

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

Speak in tongues

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

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

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

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #64 / 307
  • 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