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

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

  • Best score: 14
  • Best player score: 27
  • Position: #372 / 514
  • Number of attempts: 1
Tabbed Table to Python Array - 646 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: #167 / 168
  • Number of attempts: 1
delete swap - 1616 entries

delete all swap

  • Best score: 5
  • Best player score: 6
  • Position: #373 / 504
  • Number of attempts: 6
Generate a very basic Python constructor (fixed) - 1217 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: #116 / 256
  • Number of attempts: 1
Fix the shell script! - 2414 entries

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #378 / 544
  • Number of attempts: 1
Contribute to keyboard mashing - 870 entries

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #217 / 264
  • Number of attempts: 2
Plotting some variables in python - 1597 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: #272 / 342
  • Number of attempts: 2
Inverting Lines - 1866 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #419 / 504
  • Number of attempts: 3
Modernise code - 1352 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 46
  • Position: #192 / 313
  • Number of attempts: 2
replacing each line of a block selection - 2960 entries

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

  • Best score: 18
  • Best player score: 35
  • Position: #730 / 770
  • Number of attempts: 1
Ugly spreadsheet copy/paste to CSV - 976 entries

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

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

entered into 12 challenges

contributed 0 challenges