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 - 2095 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: #323 / 465
  • Number of attempts: 5
Find fix point of cos - 1468 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: 27
  • Position: #356 / 431
  • Number of attempts: 9
Surround the 'z' character with brackets, quotes, and print as formatted string. - 576 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #108 / 324
  • Number of attempts: 3
Easier Align - 442 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 165
  • Position: #51 / 99
  • Number of attempts: 1
Making 3 line function a one liner. - 343 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #158 / 211
  • Number of attempts: 3
Enumerate Bullets - 337 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 18
  • Best player score: 75
  • Position: #86 / 91
  • Number of attempts: 3
Whitespace, empty lines and tabs - 3949 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 72
  • Position: #828 / 841
  • Number of attempts: 3
Simple text editing with Vim - 13419 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 13
  • Position: #690 / 3846
  • Number of attempts: 5
Josh Pius
Twitter2:

entered into 8 challenges

contributed 0 challenges