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 - 45 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: #15 / 17
  • Number of attempts: 1
Replace markdown sections with numbering - 143 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 76
  • Position: #27 / 42
  • Number of attempts: 2
Fix the Scala Method - 94 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: #29 / 34
  • Number of attempts: 4
Change class fields from camel case to snake case - 255 entries

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

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

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

  • Best score: 13
  • Best player score: 18
  • Position: #43 / 55
  • Number of attempts: 1
Reorganize Pokémon - 275 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #57 / 75
  • Number of attempts: 3
Fix timezone format - 225 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: #65 / 75
  • Number of attempts: 2
Copy punctuation - 487 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: #60 / 121
  • Number of attempts: 5
Ivan Prikaznov
Github:

entered into 8 challenges

contributed 0 challenges