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

Changing date formats - 258 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 45
  • Position: #12 / 87
  • Number of attempts: 7
YAML to dotenv - 508 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 19
  • Position: #36 / 123
  • Number of attempts: 4
The Fibonacci Spacer - 86 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 25
  • Best player score: 47
  • Position: #17 / 30
  • Number of attempts: 4
Replace markdown sections with numbering - 176 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 73
  • Position: #29 / 53
  • Number of attempts: 2
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: 18
  • Position: #38 / 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: 30
  • Position: #36 / 133
  • Number of attempts: 2
Replace word while reserving first letter case - 620 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 28
  • Position: #40 / 120
  • Number of attempts: 6
months to html list items - 1042 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 26
  • Position: #145 / 284
  • Number of attempts: 2
Inverting Lines - 1907 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #307 / 512
  • Number of attempts: 3
Meya
Github:

entered into 9 challenges

contributed 0 challenges