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 - 1542 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 131
  • Position: #315 / 316
  • Number of attempts: 1
Fix the git merge conflicts - 332 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 120
  • Position: #95 / 98
  • Number of attempts: 1
Reorganize Pokémon - 829 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 48
  • Position: #221 / 226
  • Number of attempts: 2
extract struct tag in go - 153 entries

Can you extract all struct tags in the fewest keystrokes possible?

  • Best score: 29
  • Best player score: 109
  • Position: #43 / 44
  • Number of attempts: 1
Search different SQL column with similar where clause - 336 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 87
  • Position: #79 / 79
  • Number of attempts: 1
Rearrange array to single level - 1791 entries

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

  • Best score: 14
  • Best player score: 34
  • Position: #220 / 299
  • Number of attempts: 3
Copy punctuation - 715 entries

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

  • Best score: 19
  • Best player score: 80
  • Position: #151 / 173
  • Number of attempts: 2
Inverting Lines - 1954 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 41
  • Position: #517 / 523
  • Number of attempts: 1
Hello ${world} - 344 entries

Migrate a JavaScript String from concatenation to ES6 interpolation.

  • Best score: 24
  • Best player score: 183
  • Position: #102 / 102
  • Number of attempts: 1
Adelgeda
Github:

entered into 9 challenges

contributed 0 challenges