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

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: 73
  • Position: #25 / 30
  • Number of attempts: 1
Replace markdown sections with numbering - 176 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 76
  • Position: #31 / 53
  • Number of attempts: 2
Fix the Scala Method - 162 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 9
  • Best player score: 31
  • Position: #46 / 54
  • Number of attempts: 4
Change class fields from camel case to snake case - 360 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #39 / 91
  • Number of attempts: 2
Change class fields from snake case to camel case - 187 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #56 / 72
  • Number of attempts: 1
Reorganize Pokémon - 465 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #88 / 127
  • Number of attempts: 3
Fix timezone format - 253 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

  • Best score: 15
  • Best player score: 21
  • Position: #71 / 85
  • Number of attempts: 2
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: 35
  • Position: #63 / 133
  • Number of attempts: 5
Ivan Prikaznov
Github:

entered into 8 challenges

contributed 0 challenges