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

Flip All Bits - 107 entries

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

  • Best score: 26
  • Best player score: 29
  • Position: #5 / 35
  • Number of attempts: 8
Find the devices that have no revoked time, and extract out the duration left on their leases. - 122 entries

Extract non-revoked devices and the duration of their leases.

  • Best score: 50
  • Best player score: 61
  • Position: #13 / 36
  • Number of attempts: 9
Reordering properties - 1220 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 24
  • Position: #3 / 279
  • Number of attempts: 9
Sort and Tag - 685 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 87
  • Position: #75 / 145
  • Number of attempts: 3
Changing date formats - 710 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 67
  • Position: #73 / 197
  • Number of attempts: 2
Hugh Davenport
Github:

entered into 5 challenges

contributed 0 challenges