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 - 474 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: #41 / 110
  • Number of attempts: 4
Surround the 'z' character with brackets, quotes, and print as formatted string. - 572 entries

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

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

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 66
  • Position: #19 / 98
  • Number of attempts: 3
Paste a column after a column - 2637 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #155 / 571
  • Number of attempts: 2
Filter number combinations that don't add to 11 - 417 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: #61 / 120
  • Number of attempts: 4
Tabbed Table to Python Array - 755 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: #59 / 182
  • Number of attempts: 6
HS exam question - 1599 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 48
  • Position: #37 / 419
  • Number of attempts: 14
Reformat symbols in list - 1635 entries

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

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

entered into 8 challenges

contributed 0 challenges