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: 27
  • Position: #351 / 487
  • Number of attempts: 1
Tabbed Table to Python Array - 643 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: 1219
  • Position: #165 / 166
  • Number of attempts: 1
delete swap - 1522 entries

delete all swap

  • Best score: 5
  • Best player score: 6
  • Position: #351 / 476
  • Number of attempts: 6
Generate a very basic Python constructor (fixed) - 1172 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: #110 / 245
  • Number of attempts: 1
Fix the shell script! - 2328 entries

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #369 / 523
  • Number of attempts: 1
Contribute to keyboard mashing - 839 entries

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #209 / 256
  • Number of attempts: 2
Plotting some variables in python - 1558 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: #265 / 333
  • Number of attempts: 2
Inverting Lines - 1832 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #413 / 497
  • Number of attempts: 3
Modernise code - 1333 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 46
  • Position: #189 / 307
  • Number of attempts: 2
replacing each line of a block selection - 2946 entries

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

  • Best score: 18
  • Best player score: 35
  • Position: #728 / 767
  • Number of attempts: 1
Ugly spreadsheet copy/paste to CSV - 973 entries

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

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

entered into 12 challenges

contributed 0 challenges