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 - 412 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: 101
  • Position: #75 / 108
  • Number of attempts: 1
Changing date formats - 271 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 1135
  • Position: #90 / 90
  • Number of attempts: 1
YAML to dotenv - 523 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 26
  • Position: #68 / 126
  • Number of attempts: 7
Change to ascending order - 257 entries

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

  • Best score: 17
  • Best player score: 153
  • Position: #59 / 69
  • Number of attempts: 1
Swap columns and transform to CSV format - 222 entries

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

  • Best score: 16
  • Best player score: 317
  • Position: #81 / 81
  • Number of attempts: 1
Generate an entry for each month - 175 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 138
  • Position: #48 / 52
  • Number of attempts: 2
Fix the git merge conflicts - 135 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 67
  • Position: #34 / 44
  • Number of attempts: 1
Rearrange array to single level - 1396 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 40
  • Position: #187 / 229
  • Number of attempts: 4
Copy punctuation - 521 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 82
  • Position: #116 / 133
  • Number of attempts: 1
New teacher - 1109 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 31
  • Position: #199 / 237
  • Number of attempts: 4
months to html list items - 1042 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 38
  • Position: #256 / 284
  • Number of attempts: 2
swap number pairs - 2115 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 44
  • Position: #336 / 384
  • Number of attempts: 1
lovebigwei
Github:

entered into 12 challenges

contributed 0 challenges