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

Quicksort - 1268 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 27
  • Position: #198 / 278
  • Number of attempts: 1
Paste a column after a column - 2111 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #119 / 451
  • Number of attempts: 3
Tabbed Table to Python Array - 604 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: 53
  • Position: #29 / 158
  • Number of attempts: 5
HS exam question - 1419 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 90
  • Position: #282 / 381
  • Number of attempts: 2
Reformat symbols in list - 1411 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 27
  • Position: #139 / 310
  • Number of attempts: 4
Fizzbuzz - 486 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 55
  • Position: #27 / 152
  • Number of attempts: 7
Substraction (bis) - 558 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 21
  • Best player score: 28
  • Position: #48 / 104
  • Number of attempts: 4
Many duplicates - 1189 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #206 / 387
  • Number of attempts: 1
delete swap - 1454 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #216 / 461
  • Number of attempts: 1
Fix the shell script! - 2048 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 28
  • Position: #135 / 491
  • Number of attempts: 3
Com(m)a Trouble - 3634 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Position: #331 / 814
  • Number of attempts: 5
Alexander Curtis
Twitter:

entered into 11 challenges

contributed 0 challenges