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

Reordering properties - 831 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: 63
  • Position: #71 / 198
  • Number of attempts: 2
Change to ascending order - 374 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 57
  • Position: #64 / 97
  • Number of attempts: 2
Swap columns and transform to CSV format - 319 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 16
  • Position: #4 / 118
  • Number of attempts: 6
Reorganize Pokémon - 625 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 18
  • Position: #9 / 170
  • Number of attempts: 6
Remove adjacent duplicates - 578 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #44 / 150
  • Number of attempts: 13
Rearrange array to one line - 719 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 19
  • Position: #71 / 174
  • Number of attempts: 7
Quicksort - 2038 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: 6
  • Position: #126 / 452
  • Number of attempts: 8
Find fix point of cos - 1432 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: 14
  • Position: #77 / 424
  • Number of attempts: 4
Surround the 'z' character with brackets, quotes, and print as formatted string. - 570 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #227 / 319
  • Number of attempts: 2
Simple text editing with Vim - 13134 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #728 / 3776
  • Number of attempts: 7
Shoob
Github:

entered into 10 challenges

contributed 0 challenges