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

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 59
  • Position: #32 / 72
  • Number of attempts: 3
Fix the Scala Method - 286 entries

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

  • Best score: 2
  • Best player score: 22
  • Position: #14 / 89
  • Number of attempts: 6
Change class fields from camel case to snake case - 526 entries

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #39 / 190
  • Number of attempts: 7
extract struct tag in go - 142 entries

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

  • Best score: 29
  • Best player score: 41
  • Position: #20 / 36
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #2 - 84 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 / 21
  • Number of attempts: 5
CaN yOuR ViM dO ThAt? #1 - 236 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 / 91
  • Number of attempts: 4
Append leading hyphen count to each line - 108 entries

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

  • Best score: 23
  • Best player score: 27
  • Position: #22 / 31
  • Number of attempts: 5
Move to corresponding lines - 285 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 30
  • Position: #51 / 66
  • Number of attempts: 2
Copy punctuation - 655 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: #121 / 158
  • Number of attempts: 2
New teacher - 1419 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #138 / 299
  • 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 - 16093 entries

Oops.

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

entered into 13 challenges

contributed 0 challenges