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

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

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

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

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

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

  • Best score: 29
  • Best player score: 39
  • Position: #16 / 41
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 256 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: #67 / 100
  • Number of attempts: 1
Move list of uuids into a SQL query - 227 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: #48 / 73
  • Number of attempts: 1
Rearrange array to single level - 1720 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 / 289
  • Number of attempts: 12
Rearrange array to one line - 807 entries

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

  • Best score: 13
  • Best player score: 21
  • Position: #107 / 190
  • Number of attempts: 2
Copy punctuation - 684 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: #108 / 167
  • Number of attempts: 1
Deleting text - 329 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #71 / 103
  • Number of attempts: 1
New teacher - 1465 entries

Update the details of the new CS teacher.

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

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #181 / 306
  • Number of attempts: 1
Quicksort - 2095 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: #274 / 465
  • Number of attempts: 5
Fizzbuzz - 612 entries

type the first 100 lines of the fizzbuzz problem

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

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #984 / 1284
  • Number of attempts: 3
Swap values inside brackets - 2539 entries

Easy challenge.

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

entered into 15 challenges

contributed 0 challenges