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

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

  • Best score: 17
  • Best player score: 17
  • Position: #3 / 131
  • Number of attempts: 3
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: #30 / 120
  • Number of attempts: 2
extract struct tag in go - 157 entries

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

  • Best score: 29
  • Best player score: 39
  • Position: #16 / 48
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 294 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: #74 / 116
  • Number of attempts: 1
Move list of uuids into a SQL query - 245 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: #50 / 82
  • Number of attempts: 1
Rearrange array to single level - 1814 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 / 306
  • Number of attempts: 12
Rearrange array to one line - 888 entries

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

  • Best score: 13
  • Best player score: 21
  • Position: #117 / 204
  • Number of attempts: 2
Copy punctuation - 736 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: #115 / 179
  • Number of attempts: 1
Deleting text - 342 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #73 / 110
  • Number of attempts: 1
New teacher - 1513 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 20
  • Position: #40 / 318
  • Number of attempts: 5
months to html list items - 1146 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #185 / 310
  • Number of attempts: 1
Quicksort - 2113 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: #275 / 472
  • Number of attempts: 5
Fizzbuzz - 614 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 73
  • Position: #77 / 172
  • Number of attempts: 1
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #987 / 1291
  • Number of attempts: 3
Swap values inside brackets - 2549 entries

Easy challenge.

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

entered into 15 challenges

contributed 0 challenges