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

Replace each section and subsection with their respective numbers

  • Best score: 30
  • Best player score: 59
  • Position: #19 / 32
  • Number of attempts: 3
Fix the Scala Method - 75 entries

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

  • Best score: 22
  • Best player score: 22
  • Position: #12 / 28
  • Number of attempts: 6
Change class fields from camel case to snake case - 230 entries

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

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

Change the format of the each line and sort alphabetically.

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

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

  • Best score: 33
  • Best player score: 41
  • Position: #11 / 13
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #2 - 33 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 / 9
  • Number of attempts: 5
CaN yOuR ViM dO ThAt? #1 - 63 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 / 26
  • Number of attempts: 4
Append leading hyphen count to each line - 46 entries

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

  • Best score: 23
  • Best player score: 27
  • Position: #11 / 13
  • Number of attempts: 5
Move to corresponding lines - 232 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 30
  • Position: #41 / 51
  • Number of attempts: 2
Copy punctuation - 483 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: #93 / 119
  • Number of attempts: 2
New teacher - 876 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #94 / 188
  • 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 - 15977 entries

Oops.

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

entered into 13 challenges

contributed 0 challenges