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

Delete the last function argument in python. - 478 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #3 / 174
  • Number of attempts: 1
Flip All Bits - 299 entries

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

  • Best score: 26
  • Best player score: 42
  • Position: #43 / 97
  • Number of attempts: 1
Changing date formats - 725 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 93
  • Position: #127 / 204
  • Number of attempts: 2
YAML to dotenv - 1581 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 16
  • Position: #18 / 330
  • Number of attempts: 4
Replace markdown sections with numbering - 321 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 81
  • Position: #57 / 89
  • Number of attempts: 1
Fix the Scala Method - 350 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: #11 / 117
  • Number of attempts: 2
Change class fields from camel case to snake case - 651 entries

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

  • Best score: 18
  • Best player score: 18
  • Position: #14 / 149
  • Number of attempts: 4
Change class fields from snake case to camel case - 318 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #27 / 120
  • Number of attempts: 1
Reorganize Pokémon - 858 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 18
  • Position: #12 / 235
  • Number of attempts: 4
CaN yOuR ViM dO ThAt? #1 - 292 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: #8 / 115
  • Number of attempts: 3
Markdown Blog Editing - 476 entries

Convert the given link text in start file to a markdown link list.

  • Best score: 30
  • Best player score: 36
  • Position: #28 / 113
  • Number of attempts: 2
Word completion - 305 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 20
  • Position: #10 / 81
  • Number of attempts: 4
Fix timezone format - 345 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: 15
  • Position: #16 / 114
  • Number of attempts: 3
Remove adjacent duplicates - 718 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 19
  • Position: #21 / 179
  • Number of attempts: 4
Rearrange array to single level - 1811 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 20
  • Position: #84 / 306
  • Number of attempts: 4
Rearrange array to one line - 862 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 13
  • Position: #33 / 202
  • Number of attempts: 7
Copy punctuation - 730 entries

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

  • Best score: 19
  • Best player score: 53
  • Position: #141 / 178
  • Number of attempts: 1
Deleting text - 341 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #53 / 109
  • Number of attempts: 1
aaay-aaay
Github:

entered into 18 challenges

contributed 0 challenges