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

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 45
  • Position: #23 / 172
  • Number of attempts: 7
YAML to dotenv - 1256 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 19
  • Position: #81 / 267
  • Number of attempts: 4
The Fibonacci Spacer - 150 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: #25 / 43
  • Number of attempts: 4
Replace markdown sections with numbering - 288 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 73
  • Position: #43 / 74
  • Number of attempts: 2
Rearrange array to single level - 1649 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: #48 / 272
  • Number of attempts: 4
Copy punctuation - 671 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: #44 / 159
  • Number of attempts: 2
Replace word while reserving first letter case - 641 entries

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

  • Best score: 24
  • Best player score: 28
  • Position: #43 / 124
  • Number of attempts: 6
months to html list items - 1110 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 26
  • Position: #154 / 301
  • Number of attempts: 2
Inverting Lines - 1932 entries

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

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

entered into 9 challenges

contributed 0 challenges