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

Change to ascending order - 344 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 17
  • Position: #3 / 91
  • Number of attempts: 3
Change class fields from snake case to camel case - 236 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #30 / 90
  • Number of attempts: 2
extract struct tag in go - 83 entries

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

  • Best score: 29
  • Best player score: 39
  • Position: #13 / 28
  • Number of attempts: 3
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: 47
  • Position: #50 / 70
  • Number of attempts: 1
Move list of uuids into a SQL query - 154 entries

Take the list of UUIDs and use them as a filter in the where statement of a SQL query

  • Best score: 57
  • Best player score: 69
  • Position: #36 / 52
  • Number of attempts: 1
Rearrange array to single level - 1499 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #11 / 248
  • Number of attempts: 12
Rearrange array to one line - 707 entries

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

  • Best score: 13
  • Best player score: 21
  • Position: #96 / 170
  • Number of attempts: 2
Copy punctuation - 574 entries

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

  • Best score: 19
  • Best player score: 44
  • Position: #95 / 145
  • Number of attempts: 1
Deleting text - 278 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #62 / 92
  • Number of attempts: 1
New teacher - 1363 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 20
  • Position: #37 / 284
  • Number of attempts: 5
months to html list items - 1088 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #176 / 295
  • Number of attempts: 1
Quicksort - 2035 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 24
  • Position: #270 / 450
  • Number of attempts: 5
Fizzbuzz - 586 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 73
  • Position: #75 / 169
  • Number of attempts: 1
Swap values - 4644 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #982 / 1275
  • Number of attempts: 3
Swap values inside brackets - 2515 entries

Easy challenge.

  • Best score: 13
  • Best player score: 19
  • Position: #389 / 584
  • Number of attempts: 2
Rodi-Janssen
Github:

entered into 15 challenges

contributed 0 challenges