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

Insert column data on Confluence-style table - 450 entries

Add ip addresses into new "IP" column based on the last digits from the "Server" column

  • Best score: 33
  • Best player score: 42
  • Position: #39 / 108
  • Number of attempts: 4
Surround the 'z' character with brackets, quotes, and print as formatted string. - 548 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #48 / 306
  • Number of attempts: 1
Easier Align - 393 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 66
  • Position: #18 / 95
  • Number of attempts: 3
Paste a column after a column - 2524 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #148 / 550
  • Number of attempts: 2
Filter number combinations that don't add to 11 - 405 entries

Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.

  • Best score: 27
  • Best player score: 28
  • Position: #59 / 115
  • Number of attempts: 4
Tabbed Table to Python Array - 721 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: 56
  • Position: #56 / 178
  • Number of attempts: 6
HS exam question - 1578 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 48
  • Position: #36 / 416
  • Number of attempts: 14
Reformat symbols in list - 1610 entries

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

  • Best score: 24
  • Best player score: 31
  • Position: #202 / 346
  • Number of attempts: 1
ant0sha
Twitter:

entered into 8 challenges

contributed 0 challenges