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

YAML to dotenv - 1019 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 23
  • Position: #98 / 221
  • Number of attempts: 9
Change class fields from camel case to snake case - 457 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 18
  • Position: #10 / 110
  • Number of attempts: 11
Change class fields from snake case to camel case - 250 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #16 / 96
  • Number of attempts: 3
Reorganize Pokémon - 625 entries

Change the format of the each line and sort alphabetically.

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

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #33 / 151
  • Number of attempts: 5
Rearrange array to single level - 1563 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #34 / 258
  • Number of attempts: 15
Rearrange array to one line - 720 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #13 / 175
  • Number of attempts: 6
Copy punctuation - 599 entries

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

  • Best score: 19
  • Best player score: 30
  • Position: #48 / 149
  • Number of attempts: 5
Column wise pasting - 239 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 24
  • Position: #21 / 50
  • Number of attempts: 6
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: 24
  • Position: #263 / 452
  • Number of attempts: 3
Karim
Github:

entered into 10 challenges

contributed 0 challenges