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: 21
  • Position: #272 / 491
  • Number of attempts: 3
Tabbed Table to Python Array - 644 entries

Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html

  • Best score: 50
  • Best player score: 71
  • Position: #133 / 167
  • Number of attempts: 2
delete swap - 1534 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #193 / 482
  • Number of attempts: 8
Inverting Lines - 1837 entries

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

  • Best score: 10
  • Best player score: 14
  • Position: #360 / 498
  • Number of attempts: 3
Modernise code - 1336 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 41
  • Position: #131 / 309
  • 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: 30
  • Position: #237 / 370
  • Number of attempts: 1
Applying same text modification in several lines - 2845 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 14
  • Position: #483 / 840
  • Number of attempts: 2
Vice versa - 7805 entries

Little role switching.

  • Best score: 12
  • Best player score: 18
  • Position: #1772 / 2101
  • Number of attempts: 2
unknown command - 158 entries

I want change 5 words

  • Best score: 7
  • Best player score: 7
  • Position: #64 / 83
  • Number of attempts: 2
ASCII-art Histogram - 310 entries

Create an ASCCI-art histogram for the given numbers. Make sure not to leave trailing whitespaces. Thanks to VimGolf I recently discovered a feature of Vim thAT blew my mind. I'm curious to see what real ninjas make of it ;-)

  • Best score: 33
  • Best player score: 72
  • Position: #43 / 55
  • Number of attempts: 5
replacing each line of a block selection - 2947 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 28
  • Position: #609 / 768
  • Number of attempts: 6
The meaning - 558 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #307 / 356
  • Number of attempts: 1
Rotating Philosophers Problem - 390 entries

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

  • Best score: 29
  • Best player score: 34
  • Position: #146 / 163
  • Number of attempts: 2
Assignment Alignment - 832 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 46
  • Position: #203 / 215
  • Number of attempts: 1
Jay Solana
Twitter:

entered into 14 challenges

contributed 0 challenges