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

Remove line numbers - 654 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 8
  • Best player score: 23
  • Position: #119 / 173
  • Number of attempts: 1
Find fix point of cos - 1199 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 15
  • Position: #74 / 363
  • Number of attempts: 2
Insert column data on Confluence-style table - 441 entries

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

  • Best score: 33
  • Best player score: 35
  • Position: #25 / 104
  • Number of attempts: 9
Surround the 'z' character with brackets, quotes, and print as formatted string. - 505 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #44 / 285
  • Number of attempts: 1
Easier Align - 358 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 78
  • Position: #22 / 92
  • Number of attempts: 5
Paste a column after a column - 2413 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #156 / 523
  • Number of attempts: 6
Tabbed Table to Python Array - 652 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: 58
  • Position: #65 / 171
  • Number of attempts: 2
Johan Isaksson
Twitter2:

entered into 7 challenges

contributed 0 challenges