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

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 59
  • Position: #20 / 43
  • Number of attempts: 3
Fix the Scala Method - 106 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 / 39
  • Number of attempts: 6
Change class fields from camel case to snake case - 277 entries

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

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

Change the format of the each line and sort alphabetically.

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

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

  • Best score: 29
  • Best player score: 41
  • Position: #13 / 17
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #2 - 34 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 - 82 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 / 35
  • Number of attempts: 4
Append leading hyphen count to each line - 47 entries

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

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

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 30
  • Position: #43 / 53
  • Number of attempts: 2
Copy punctuation - 488 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: #95 / 122
  • Number of attempts: 2
New teacher - 925 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #98 / 196
  • 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 - 15989 entries

Oops.

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

entered into 13 challenges

contributed 0 challenges