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

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

  • Best score: 14
  • Best player score: 27
  • Position: #167 / 236
  • Number of attempts: 1
Tabbed Table to Python Array - 389 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: 51
  • Best player score: 1219
  • Position: #110 / 110
  • Number of attempts: 1
delete swap - 1095 entries

delete all swap

  • Best score: 5
  • Best player score: 6
  • Position: #262 / 356
  • Number of attempts: 6
Generate a very basic Python constructor (fixed) - 926 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 41
  • Position: #91 / 208
  • Number of attempts: 1
Fix the shell script! - 1728 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 75
  • Position: #392 / 418
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1348 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #328 / 458
  • Number of attempts: 1
Contribute to keyboard mashing - 748 entries

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #187 / 231
  • Number of attempts: 2
Plotting some variables in python - 1404 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 61
  • Position: #234 / 296
  • Number of attempts: 2
Inverting Lines - 1562 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #352 / 423
  • Number of attempts: 3
Modernise code - 1103 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 46
  • Position: #162 / 261
  • Number of attempts: 2
replacing each line of a block selection - 2883 entries

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

  • Best score: 18
  • Best player score: 35
  • Position: #717 / 756
  • Number of attempts: 1
Ugly spreadsheet copy/paste to CSV - 952 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 88
  • Position: #180 / 183
  • Number of attempts: 1
Zhou Jiazheng
Twitter:

entered into 12 challenges

contributed 0 challenges