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

Replace markdown sections with numbering - 200 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 59
  • Position: #24 / 61
  • Number of attempts: 3
Fix the Scala Method - 218 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: 22
  • Position: #13 / 71
  • Number of attempts: 6
Change class fields from camel case to snake case - 448 entries

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

  • Best score: 18
  • Best player score: 18
  • Position: #17 / 108
  • Number of attempts: 11
Reorganize Pokémon - 579 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #36 / 157
  • Number of attempts: 7
extract struct tag in go - 83 entries

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

  • Best score: 29
  • Best player score: 41
  • Position: #16 / 28
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #2 - 52 entries

Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s

  • Best score: 49
  • Best player score: 49
  • Position: #4 / 14
  • Number of attempts: 5
CaN yOuR ViM dO ThAt? #1 - 176 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 41
  • Position: #9 / 70
  • Number of attempts: 4
Append leading hyphen count to each line - 81 entries

Append the number of leading hyphens to the end of each line.

  • Best score: 23
  • Best player score: 27
  • Position: #18 / 26
  • Number of attempts: 5
Move to corresponding lines - 267 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 30
  • Position: #48 / 62
  • Number of attempts: 2
Copy punctuation - 570 entries

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

  • Best score: 19
  • Best player score: 49
  • Position: #110 / 144
  • Number of attempts: 2
New teacher - 1357 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #133 / 282
  • Number of attempts: 6
JSON string rotation - 64 entries

Right value strings are misplaced. Just rotate them! I'm too kind with you guys and didn't included "strings with \" in it"!

  • Best score: 19
  • Best player score: 39
  • Position: #21 / 22
  • Number of attempts: 4
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 22
  • Position: #3875 / 4194
  • Number of attempts: 3
Melih Aktop
Github:

entered into 13 challenges

contributed 0 challenges